M
Melba via AccessMonster.com
I have a main form frmAdmin with a subform "sContacts" on it. I need to
change the subform object to bring in another subform name 'sfrmProfile" But
it's not changing. I'm not linking anything because I'm bringing in ALL the
records.
Now it works fine when I manually go into the design mode and change the
object to sfrmProfile and then run the form ,the form shows the correct
records.
Please help. Here is my code in the click of the "Profile" button on click
event I have the following code:
Forms![frmAdmin]![sfrmProfileSub].SourceObject = "sfrmProfile"
error message = can't find the field sfrmProfilesub
I'm totally confused. I'm also ready to just use the button to a docmd.
openform and open each form in a pop-up upon click of the button, but I know
there's a neater way. Please help.
Melba
change the subform object to bring in another subform name 'sfrmProfile" But
it's not changing. I'm not linking anything because I'm bringing in ALL the
records.
Now it works fine when I manually go into the design mode and change the
object to sfrmProfile and then run the form ,the form shows the correct
records.
Please help. Here is my code in the click of the "Profile" button on click
event I have the following code:
Forms![frmAdmin]![sfrmProfileSub].SourceObject = "sfrmProfile"
error message = can't find the field sfrmProfilesub
I'm totally confused. I'm also ready to just use the button to a docmd.
openform and open each form in a pop-up upon click of the button, but I know
there's a neater way. Please help.
Melba