rockman
Senior Member
- Local time
- Today, 01:26
- Joined
- May 29, 2002
- Messages
- 190
I couldn't find an answer to this in the archives, but it seems fairly straight-foward to me:
How can I use a field value as criteria?
Example: Let's say I want a select query to return all records where the person's first name is the same as the person's last name. In a querydef, the following won't work:
Field: fldFirstName
Criteria: [fldLastName]
What happens is that MSAccess then performs a parameter prompt asking me to provide a value for "fldLastName".
Any way to do this?
Thanks in advance for any insight,
Jeff
How can I use a field value as criteria?
Example: Let's say I want a select query to return all records where the person's first name is the same as the person's last name. In a querydef, the following won't work:
Field: fldFirstName
Criteria: [fldLastName]
What happens is that MSAccess then performs a parameter prompt asking me to provide a value for "fldLastName".
Any way to do this?
Thanks in advance for any insight,
Jeff