maverickmonster
Programmer
I have following code.
It seams to be tempermental as it works some times and not others, the dates i try to lookup do exist in the db, but it works on some cases and not on others.
The error occurs on the cases that dont work when it gets to the RSbpd.EOF and RSbpd.BOF and they both equal true. which errors.
Presumably this is because it can not be found in the db table althought it definatly is !!!
Thanks in advance
Maverickmonster
Code:
Which = "Select * from [BPD] where [BPD].dob = #" & defRsp & "# "
RSbpd.Open Which, cn, adOpenKeyset, adLockOptimistic
If Not RSbpd.EOF And Not RSbpd.BOF Then
'loading process
It seams to be tempermental as it works some times and not others, the dates i try to lookup do exist in the db, but it works on some cases and not on others.
The error occurs on the cases that dont work when it gets to the RSbpd.EOF and RSbpd.BOF and they both equal true. which errors.
Presumably this is because it can not be found in the db table althought it definatly is !!!
Thanks in advance
Maverickmonster