Hey there!
I made a form where I added two command buttons. The user is supposed to be able to click the command button and have the report Print. I was right-clicking on the command button and I was trying to write the code, but I am very new at this, so I think I messed it up and made it worse. I was also trying to build a Macros and use the PrintOut command, but I could not get it done.
If someone can help me to either build a macros or write the code, I would like to first use the OpenReport command and then the PrintOut command. I just do not know how.
Thank you in advance!
I made a form where I added two command buttons. The user is supposed to be able to click the command button and have the report Print. I was right-clicking on the command button and I was trying to write the code, but I am very new at this, so I think I messed it up and made it worse. I was also trying to build a Macros and use the PrintOut command, but I could not get it done.
If someone can help me to either build a macros or write the code, I would like to first use the OpenReport command and then the PrintOut command. I just do not know how.
Thank you in advance!