Continuous Forms Loop

IanT

Registered User.
Local time
Today, 23:04
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!!!
 
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

Back
Top Bottom