I am building a client form and want to put a button to open another form with that client ID to keep track of all communications. I used VBA Code to accomplish this, but when I click the button, I get an "enter parameters value" box for clientID.
This is the code I input. Private Sub Contact_Notes_Click() DoCmd.OpenForm "ClientsContacts", , , "ClientID=" & ClientID End Sub Can anyone see what I am doing wrong? Thanks
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Visitor Forum.