T
Travis Law via AccessMonster.com
I am having an issue where I have a main form page. There is a record
number among other things. As well as buttons to open 4 other forms. When
you press the button, it opens desired form with the record that matches
the same record number you entered. Now you have the option to open up the
other forms from the new form. How do I get the other forms to open up
with the matching record number but be able to accept the value from any
form? For now it only gets the value from the main form page, I need it to
accept a value from any form.
Here is the code on the new page.
Private Sub Form_Open(Cancel As Integer)
DoCmd.GoToRecord acDataForm, "New", acGoTo, [Forms]![Front Page]![Form ID
number].Value
End Sub
Any help would be greatly appreciated.
number among other things. As well as buttons to open 4 other forms. When
you press the button, it opens desired form with the record that matches
the same record number you entered. Now you have the option to open up the
other forms from the new form. How do I get the other forms to open up
with the matching record number but be able to accept the value from any
form? For now it only gets the value from the main form page, I need it to
accept a value from any form.
Here is the code on the new page.
Private Sub Form_Open(Cancel As Integer)
DoCmd.GoToRecord acDataForm, "New", acGoTo, [Forms]![Front Page]![Form ID
number].Value
End Sub
Any help would be greatly appreciated.