K
Kenny G
Access 2007
When I click the command button below it will allow the view of a report and
sometimes it will give me the message "Runtime Error 6 Overflow". At that
time the line DoCmd.OpenReport "Single Unit Restraints Reporting For Selected
Timeframe", is highlighted in yellow. Any idea what the problem is?
Private Sub cmdSelectSingleUnitForReport_Click()
DoCmd.SetWarnings False
DoCmd.OpenQuery "qupdtUnit"
DoCmd.Requery
DoCmd.SetWarnings True
DoCmd.OpenReport "Single Unit Restraints Reporting For Selected
Timeframe", acViewPreview
End Sub
Thank you,
When I click the command button below it will allow the view of a report and
sometimes it will give me the message "Runtime Error 6 Overflow". At that
time the line DoCmd.OpenReport "Single Unit Restraints Reporting For Selected
Timeframe", is highlighted in yellow. Any idea what the problem is?
Private Sub cmdSelectSingleUnitForReport_Click()
DoCmd.SetWarnings False
DoCmd.OpenQuery "qupdtUnit"
DoCmd.Requery
DoCmd.SetWarnings True
DoCmd.OpenReport "Single Unit Restraints Reporting For Selected
Timeframe", acViewPreview
End Sub
Thank you,