Hi,
I have been working on a creating a form for querying records from an external database source. All three tables have a unique ID "AAA-00000", table 1 has 4000 records with no duplicate ID's, table 2 8000 records with duplicates, table 3 has only 1000 records with no duplicates. I am cannot make the unique ID a primary key, but I can use it to link between the three tables. Using outer joins to link table 2 & 3 to table 1 yield the correct number of records. Once I add criteria to the the query it then limits the records to between the tables (using [Forms]![FrmA]![cboPick] for example).
I have tried using in [Criteria] "Like IIf([Forms]![frmA]![cboPick]=" ","*",[Forms]![frmA]![cboPick])" and "Like "*" & [Forms]![frmA]![cboPick] & "*"" with wildcards (and other variations) but the criteria limits the records, and if I use "is Null" in the [Or] field it ignores the criteria.
Can anyone help with the expression that will include Nulls?
Thanks!