Conernesto
asked on
Command button
Command button
I have below code on a command button. When I run the command, I get a message Compile error: Method or data member not found. I am trying to close a report named RandSt_byState2_rpt What do I need to change for the command to work?
Private Sub Command36_Click()
DoCmd.CloseReport "RandSt_byState2_rpt"
End Sub
I have below code on a command button. When I run the command, I get a message Compile error: Method or data member not found. I am trying to close a report named RandSt_byState2_rpt What do I need to change for the command to work?
Private Sub Command36_Click()
DoCmd.CloseReport "RandSt_byState2_rpt"
End Sub
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.