View Single Post
  #2 (permalink)  
Old April 27th, 2007, 10:36 AM
martinrhague martinrhague is offline
Registered User
Join Date: Oct 2006
Location: Leigh, Lancashire, United Kingdom.
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Coby

This is what I use to check. if no records, then it exits the function. Obviously if you want it to do other things, just put the else statement in there

If rstTempWIP.RecordCount <= 0 Then Exit Function

Hope this helps

Reply With Quote