14 replies
by sgt_shultz
by mk1
by mk1
Another option (which may appeal if you already have the 3 forms created separately), is to allow all 3 of the forms in question to be open at the same time. This is pretty simple to do?just keep in mind that when you refer to each of the forms within your VBA code you?ll need to provide the entire ?path? to a control, where you don?t need to do that with just one form open.
With 1 form open you can refer to a control like this: txtFirstName = ?Bob?
Or Me.txtFirstName = ?Bob?, where txtFirstName is your control.
With multiple forms open you?ll have to be sure that you refer to the form name (unless the control you wish to call is located on the active form) like this:
Forms!frmEmployees!txtFirstName = ?Bob?
Hope this helps.
by mk1
by mk1
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending