I've set up a Select statement to grab a specific record. I need to test if the record is not found. Can someone give me the syntax, I can't seem to find it.
Thanks!
... Use a Record Set.. .check Record Count
'Check Expired Passwords
Set rs = ThisDB.OpenRecordset("qry_USER_PW",
dbOpenSnapshot)
rs.movefirst
If rs.RecordCount <> 0 Then
'Get List of Who to E-Mail To
Steve Medvid
"IT Consultant & Web Master"
e-Mail: Stephen_Medvid@GMACM.com
Thanks so much, that did the trick! I'm a COBOL nerd so I'm still learning the SOP's of VBA. I know what I want to do, just can't always figure out how to code it correctly. My installed help screens are incomplete so I tend to stumble a bit!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.