Continuous Forms Loop (1 Viewer)

IanT

Registered User.
Local time
Today, 05:58
Joined
Nov 30, 2001
Messages
191
Hi

Have been trying to find a solution with-out success!

I have a Continuous Form, I need to check the value of a particular field for each record that appears on the form. Obviously the code I have at the moment only looks at the first record.

Can anyone help!!!
 

Travis

Registered User.
Local time
Yesterday, 21:58
Joined
Dec 17, 1999
Messages
1,332
Using ADODB and the Forms Recordsetclone
Code:
Dim rst As Object
Set rst = Me.RecordsetClone
Do While Not rst.EOF
    'Check Field
    rst.Fields("{FieldName}").Value
    rst.MoveNext
Loop
Set rst = Nothing
 
Last edited:

Users who are viewing this thread

Top Bottom