Hi there, I am working on a database that has the form created to look the way they want the printed "form" to look. So, when they click on print, it is actually just printing the form, not a report. This is what the code looks like in the "on click" event of the button: Sub PrintBM_Click()
On Error GoTo Err_PrintBM_Click
DoCmd.PrintOut
Exit_PrintBM_Click:
Exit Sub
I added a notes field to the form that they only want to print out if they indicate it, otherwise it will not print. Do I make a second button that will hide the field, by putting the same code as above? and then adding the code to change the visable property to false? Is this the best way to do that?
Dawn
On Error GoTo Err_PrintBM_Click
DoCmd.PrintOut
Exit_PrintBM_Click:
Exit Sub
I added a notes field to the form that they only want to print out if they indicate it, otherwise it will not print. Do I make a second button that will hide the field, by putting the same code as above? and then adding the code to change the visable property to false? Is this the best way to do that?
Dawn