PaddyIrishMan
Registered User.
- Local time
- Today, 14:01
- Joined
- Jun 5, 2002
- Messages
- 166
Hi all,
What I'd like to do is:
In the after update event of a certain field on my form, I'd like to validate other fields on the form before allowing the user continue.
I don't want to go down the if [field].text = "" etc road as ther are a lot of fields on the form.
What I'd like to do is temporarily set a RecordSource variable to the current record, & loop thru the fields in the recordset identifying the empty fields.
The problem I'm having is identifying the current record without having to loop thru all records - Does anyone know if this is possible?
I.e. MyRecSet = me.CurrentRecord (Obviously this doesnt work)
Thanks for any help,
Patrick.
What I'd like to do is:
In the after update event of a certain field on my form, I'd like to validate other fields on the form before allowing the user continue.
I don't want to go down the if [field].text = "" etc road as ther are a lot of fields on the form.
What I'd like to do is temporarily set a RecordSource variable to the current record, & loop thru the fields in the recordset identifying the empty fields.
The problem I'm having is identifying the current record without having to loop thru all records - Does anyone know if this is possible?
I.e. MyRecSet = me.CurrentRecord (Obviously this doesnt work)
Thanks for any help,
Patrick.