G
Guest
I have two forms. One form has a search command button tide to a macro.
When the user clicks on the search command it prompts them to enter a last name. Then it goes to another form and lists all the possibilities.
If the individual is in the second form the user then clicks on the the specific id. Then the main form opens, the control go to the ID field and the find command option appears. The the user uses ctrl V to past the user ID that that selected from the other form clicks find and then clicks the cancel button the find to close it out.
This is all running out of a macro i.e.
RunCommand = Copy the user ID
OpenForm = Open the form main form so you can edit various pieces of information.
GoToControl = Goes to the specific user ID field on the main form.
RunCommand = Initiates the find command option.
Question is there a simpler way to do this. ie. if the user selects an individual in the second form that it goes straight to that user on the main form?
Thanks in advance
When the user clicks on the search command it prompts them to enter a last name. Then it goes to another form and lists all the possibilities.
If the individual is in the second form the user then clicks on the the specific id. Then the main form opens, the control go to the ID field and the find command option appears. The the user uses ctrl V to past the user ID that that selected from the other form clicks find and then clicks the cancel button the find to close it out.
This is all running out of a macro i.e.
RunCommand = Copy the user ID
OpenForm = Open the form main form so you can edit various pieces of information.
GoToControl = Goes to the specific user ID field on the main form.
RunCommand = Initiates the find command option.
Question is there a simpler way to do this. ie. if the user selects an individual in the second form that it goes straight to that user on the main form?
Thanks in advance