T
Testkitt2
I have a DB with a query and the following criteria:
Like "*" & [Enter By Number or Beginning of Description: ] & "*"
This brings up a general ledger code use in our acctg dept.
now if the user types in something no way near a match, the form comes
up blank (no results). How can I use DCount with my query to send the user a
warning msg.
query field name is "GL Code Description"
the queries name is "QryGL"
if DCount "([GL Code Description])","([QryGL])" = 0 Then
Msg.......
Can someone correct this for me.
Thanks
Like "*" & [Enter By Number or Beginning of Description: ] & "*"
This brings up a general ledger code use in our acctg dept.
now if the user types in something no way near a match, the form comes
up blank (no results). How can I use DCount with my query to send the user a
warning msg.
query field name is "GL Code Description"
the queries name is "QryGL"
if DCount "([GL Code Description])","([QryGL])" = 0 Then
Msg.......
Can someone correct this for me.
Thanks