A
Amateur
How can I run a Macro clientspecific and not for all customers. Every
customer has a clientID and I would like to run the Macro seperately for each
client.
I have the following code now (which is running for all)
Private Sub Command28_Click()
On Error GoTo Err_Command28_Click
Dim stDocName AsString
stDocName = "offer"
DoCmd.RunMacro stDocName
Exit_Command28_Click:
Exit Sub
Err_Command28_Click:
MsgBox Err.Description
Resume Exit_Command28_Click
End Sub
Thanks
Klaus
customer has a clientID and I would like to run the Macro seperately for each
client.
I have the following code now (which is running for all)
Private Sub Command28_Click()
On Error GoTo Err_Command28_Click
Dim stDocName AsString
stDocName = "offer"
DoCmd.RunMacro stDocName
Exit_Command28_Click:
Exit Sub
Err_Command28_Click:
MsgBox Err.Description
Resume Exit_Command28_Click
End Sub
Thanks
Klaus