Hi,
Have created a query wich combines serveral tables.
When I run the query without a filter it shows all data correctly.
When I try to filter out 'unwanted data' via Criteria I'm prompted to input 'FirstName'?
I have a column [Name] which is filled via an IFF statement on Firstname and LastName (Only if FistName is blank the value from Lastname appears).
Example:
[FirstName] [LastName] [Name] [NameCheck]
last last last
first first first
first1 last1 first1 first1
User last2 User <Null>
So far so good, data is displayed correctly and antoher column [NameCheck] is also filled with data via
NameCheck: IIf(Instr([Name];"User"));Null;[Name])
Query runs fine but when I add Criteria "Is Not Null" to [NameCheck] to filter out unwanted data I'm prompted for 'Firstname'?
Do not know why my Access 97 does this?
My Query is far more complicated but think all relevant info is posted. Thanks 4 help on this one.
Have created a query wich combines serveral tables.
When I run the query without a filter it shows all data correctly.
When I try to filter out 'unwanted data' via Criteria I'm prompted to input 'FirstName'?
I have a column [Name] which is filled via an IFF statement on Firstname and LastName (Only if FistName is blank the value from Lastname appears).
Example:
[FirstName] [LastName] [Name] [NameCheck]
last last last
first first first
first1 last1 first1 first1
User last2 User <Null>
So far so good, data is displayed correctly and antoher column [NameCheck] is also filled with data via
NameCheck: IIf(Instr([Name];"User"));Null;[Name])
Query runs fine but when I add Criteria "Is Not Null" to [NameCheck] to filter out unwanted data I'm prompted for 'Firstname'?
Do not know why my Access 97 does this?
My Query is far more complicated but think all relevant info is posted. Thanks 4 help on this one.