minkoffcpa
Registered User.
- Local time
- Today, 05:46
- Joined
- Sep 28, 2014
- Messages
- 11
I have a form "2017 Individual Taxes" that lists records based on a client registration form "IndivClients". The "IndivClients" form is linked to a SharePoint list so that I can synchronize it with OWA 365 and Outlook 2016. I have a command button on the "2017 Individual taxes" that is supposed to open the "IndivClients" form to the related client. The code behind the command button is:
Private Sub GoToClient_Click()
DoCmd.OpenForm "IndivClients", acNormal, , "ClientNumber=" & TaxpayerClientNo
End Sub
When launched, I get a popup "Enter Parameter Value" asking for ClientNumber. I've spent hours researching, so I'm hoping someone can help me with this. I'm not a very experienced programmer, so would very much appreciate whoever answers to use all the specific syntax (quotation marks, brackets, exclamation marks, etc.) as I'm really not familiar with when to use them and when not to.
Thank you very much! Kevin
Private Sub GoToClient_Click()
DoCmd.OpenForm "IndivClients", acNormal, , "ClientNumber=" & TaxpayerClientNo
End Sub
When launched, I get a popup "Enter Parameter Value" asking for ClientNumber. I've spent hours researching, so I'm hoping someone can help me with this. I'm not a very experienced programmer, so would very much appreciate whoever answers to use all the specific syntax (quotation marks, brackets, exclamation marks, etc.) as I'm really not familiar with when to use them and when not to.
Thank you very much! Kevin