I
Ixtreme
Somehow I just can't get this to work:
In Access 2002 I have a form and a subform with related records. On
the subform I want to verify if a field is present in a specific table
via dlookup. I am only interested in the first 8 characters. The 8
letter string must be looked up in this table. If not present, color
the field indicating a value that is not present. I tried everything.
What I have so far:
IsNull(DLookUp("[Country]"~"SEPA"~"[BIC] = " & Left(Forms![FOT]!
[FOTP].Form![Party Identifier]~8)")
The table 'SEPA' contains the fields 'Country', 'Name' and 'BIC'
Example: NETHERLANDS~JP MORGAN CHASE BANK AMSTERDAM~CHASNL2X
The subform contains a field 'Party Identifier'
Example: 'CHASNL2XXX'
If CHASNL2X is not in table SEPA I would like to have field Party
Identifier to be in red font.
In Access 2002 I have a form and a subform with related records. On
the subform I want to verify if a field is present in a specific table
via dlookup. I am only interested in the first 8 characters. The 8
letter string must be looked up in this table. If not present, color
the field indicating a value that is not present. I tried everything.
What I have so far:
IsNull(DLookUp("[Country]"~"SEPA"~"[BIC] = " & Left(Forms![FOT]!
[FOTP].Form![Party Identifier]~8)")
The table 'SEPA' contains the fields 'Country', 'Name' and 'BIC'
Example: NETHERLANDS~JP MORGAN CHASE BANK AMSTERDAM~CHASNL2X
The subform contains a field 'Party Identifier'
Example: 'CHASNL2XXX'
If CHASNL2X is not in table SEPA I would like to have field Party
Identifier to be in red font.