markedback
MIS
I have a form in which the user enters his or her employee number and clicks on a command button to open another form (a form containing menu of other command buttons) which is specific to their employee number.
I need the following to code to be modified so that it opens their respective form
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Menu-(employee number)"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Please help me by suggesting how I can modify the above code to perform the required action.
Thanks,
Mark.