J
James Meridian
I am trying to create a SEARCH function through Visual Basic. The problem is
I don't know how to refer to a column.
Two of my column names have the same name, Printer. So on the Form it is
refered to as Datasheet.Form and Datasheet_1.Form
My Search function works but breaks because I don't know how to refer to
column names that are the same.
strWhere = strWhere & "([Datasheet.Form] Like ""*" & Me.txtSearch & "*"") OR
([Datasheet_1.Form] Like ""*" & Me.txtSearch & "*"") AND"
This is what I have so far. But it does not work when I try the actual
filter.
Any help is appreciated!
I don't know how to refer to a column.
Two of my column names have the same name, Printer. So on the Form it is
refered to as Datasheet.Form and Datasheet_1.Form
My Search function works but breaks because I don't know how to refer to
column names that are the same.
strWhere = strWhere & "([Datasheet.Form] Like ""*" & Me.txtSearch & "*"") OR
([Datasheet_1.Form] Like ""*" & Me.txtSearch & "*"") AND"
This is what I have so far. But it does not work when I try the actual
filter.
Any help is appreciated!