ST4RCUTTER
Registered User.
- Local time
- Today, 08:28
- Joined
- Aug 31, 2006
- Messages
- 94
Hi all! Looking for some code help here. What I'm trying to do is change a value on all records once they are returned in a query. I have a yes/no field that I want to set to "yes" once the query returns the initial recordset. By changing this field to "yes" on all the records the idea is that no other query - which excludes a "yes" value in this field - will return results.
I think I will need to use the OnLoad event to run this code. The code must loop through every record in the query results and change the field "Field1" to "yes" from a default value of "no". For the sake of example, lets call this query "qryResults".
Isn't there code that tells Access to "run to the end of the file" or EOF? Thanks!
I think I will need to use the OnLoad event to run this code. The code must loop through every record in the query results and change the field "Field1" to "yes" from a default value of "no". For the sake of example, lets call this query "qryResults".
Isn't there code that tells Access to "run to the end of the file" or EOF? Thanks!