docmd Code in report

C

Crazyhorse

Cancel on a Make Table query w Code


Private Sub Report_Open(Cancel As Integer)

DoCmd.SetWarnings False
DoCmd.OpenQuery "mk_totalTimeWorked", acViewNormal, acEdit

End Sub


make table query when the person has to put in the dates. but if someone
cancels the date then I get a debug message.

Please help thanks
 
Top