Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Forms > Cannot edit sub...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 44602 of 46530
Post > Topic >>

Cannot edit subform

by =?Utf-8?B?c21pbGV5?= <smiley@[EMAIL PROTECTED] > Aug 4, 2008 at 11:54 AM

I have a form that has AllowEdit set to No and a button that when pressed 
sets it to yes. The problem is, when I press the button, I can edit the
form, 
but not the subform. If I set the AllowEdits to Yes and open the form, I
can 
edit the subform.

How can get the subform to allow edits when I press the edit button I
have? 
Here is the event code for the button:

Private Sub cmdEditMode_Click()
Dim ID As Variant
Dim FilterState As Variant

ID = Me.CurrentRecord
FilterState = Me.FilterOn

Me!cmbFundGoTo.Enabled = False
Me!cboAsOfDate.Enabled = False
Me.AllowEdits = True
Me.AllowAdditions = False
Me.AllowDeletions = True
Me.DataEntry = False
Me.Section(acDetail).BackColor = 8421631
Me.FilterOn = FilterState
DoCmd.GoToRecord , , acGoTo, ID
End Sub
 




 5 Posts in Topic:
Cannot edit subform
=?Utf-8?B?c21pbGV5?= <  2008-08-04 11:54:10 
RE: Cannot edit subform
=?Utf-8?B?bm9tYWRr?= <  2008-08-04 13:36:15 
RE: Cannot edit subform
"Linq Adams via Acce  2008-08-04 23:05:12 
RE: Cannot edit subform
=?Utf-8?B?c21pbGV5?= <  2008-08-05 08:07:01 
RE: Cannot edit subform
=?Utf-8?B?c21pbGV5?= <  2008-08-05 07:14:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 19:02:10 CST 2008.