P
Pwyd
Function RecordCountZero()
If DoCmd.OpenQuery("CountOfUserExistingRecords") = 0 Then
DoCmd.Close ([Costpoint Reversals Processor])
DoCmd.OpenForm ([Costpoint Processor New Record])
End Function
what's invalid about this function? it keeps highlighting "OpenQuery" and
saying it needs a function or variable. CountOfUserExistingRecords is a
valid query name, with a single resulting row with a numerical value.
What's the problem here?
If DoCmd.OpenQuery("CountOfUserExistingRecords") = 0 Then
DoCmd.Close ([Costpoint Reversals Processor])
DoCmd.OpenForm ([Costpoint Processor New Record])
End Function
what's invalid about this function? it keeps highlighting "OpenQuery" and
saying it needs a function or variable. CountOfUserExistingRecords is a
valid query name, with a single resulting row with a numerical value.
What's the problem here?