I have a combobox with the which is a lookup and the rowsource is as follows:
SELECT [Contacts Extended].ID, [Contacts Extended].[Contact Name] , [Contacts Extended].[Business Phone], [Contacts Extended].[E-Mail Address]FROM [Contacts Extended] WHERE (([Contacts Extended]![Category]="DPM")) ORDER BY [Contacts Extended].[Contact Name];
It is bound to column 1.
I have a macro which searchs this field and comes up blank when the record is there.
[TempVars]![strFilter] & " OR ([DPM1] Like ""*" & [TempVars]![strSearch] & "*"")"
I need it to search column 1 and not column 0
Can this be done?
TIA
SELECT [Contacts Extended].ID, [Contacts Extended].[Contact Name] , [Contacts Extended].[Business Phone], [Contacts Extended].[E-Mail Address]FROM [Contacts Extended] WHERE (([Contacts Extended]![Category]="DPM")) ORDER BY [Contacts Extended].[Contact Name];
It is bound to column 1.
I have a macro which searchs this field and comes up blank when the record is there.
[TempVars]![strFilter] & " OR ([DPM1] Like ""*" & [TempVars]![strSearch] & "*"")"
I need it to search column 1 and not column 0
Can this be done?
TIA