|
-
November 3rd, 1999, 11:34 AM
#1
Problem with using subforms in Access
Hi
I am having problems using subforms in Access. If I embedd a subform which appears as a datasheet on a main form, I have problems using the
DoCmd.GotoRecord(....) when using this for the subform object from the main form code page.
e.g.
Private Sub cmdAdd_Click()
Forms!f001Country![CountryList].Form.AllowAdditions = True
Me!CountryList.SetFocus
DoCmd.GoToRecord acDataForm, "Forms!f001Country![CountryList].Form", acNewRec
End Sub
In the above "CountryList" is the name of the subform.
Your help is much appreciated
Abu Musa
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|