J
jnewl
i am generating snapshot reports via access vb. i have a nodata routine in
the reports, so that a msgbox appears when there is no data.
i am using the following code to generate the snapshot reports. how do i
check for nodata, so that i do not execute the docmd. output statement
If Forms![select ancillary group]![report category] = 2 Then
DoCmd.OpenQuery "qry select not passed records for report"
If Forms![select ancillary group]![group var] = "facility" Then
stDocName = "facility not passed"
DoCmd.OutputTo acOutputReport, "facility not passed", "snapshot
format", _
"g:\fee sched test\" & monthlitl & category & " not passed", True
thanks for your help
the reports, so that a msgbox appears when there is no data.
i am using the following code to generate the snapshot reports. how do i
check for nodata, so that i do not execute the docmd. output statement
If Forms![select ancillary group]![report category] = 2 Then
DoCmd.OpenQuery "qry select not passed records for report"
If Forms![select ancillary group]![group var] = "facility" Then
stDocName = "facility not passed"
DoCmd.OutputTo acOutputReport, "facility not passed", "snapshot
format", _
"g:\fee sched test\" & monthlitl & category & " not passed", True
thanks for your help