mikewood1980
Registered User.
- Local time
- Today, 23:26
- Joined
- May 14, 2008
- Messages
- 45
Hi Guys
I have the following code:
The first message box (MsgBox (rsBoardTypes.RecordCount)) returns a value of 1 all the time and the second (MsgBox (rsBoardTypes.RecordCount)) returns the correct value - why is this?? I thought that record count just returned the number a values in a recordset?
If anyone can help I would really appreciate it
Thanks
Mike
I have the following code:
Code:
sQuery = "select * from tblBoardChoices where ((tblBoardChoices.intMassPerM2) >= " & intBoard1Low & ")"
MsgBox (sQuery)
Set rsBoardTypes = dbcurr.OpenRecordset(sQuery)
rsBoardTypes.MoveFirst
MsgBox (rsBoardTypes.RecordCount)
Do Until rsBoardTypes.EOF = True
MsgBox (rsBoardTypes!chrBoardTypes)
rsBoardTypes.MoveNext
Loop
MsgBox (rsBoardTypes.RecordCount)
If anyone can help I would really appreciate it
Thanks
Mike