Use macro to search through the table

AlaaB

Registered User.
Local time
Today, 15:21
Joined
Jul 27, 2010
Messages
15
guys any help about how to make a macro search during the table
no matter if we write the first or the last name in the search box
 
In a macro?? You can use a macro to open a searchquery.

If you have a query, you can create a searchfield which is a concatination of first and last name.

SearchField: [FirstName] & "|" & [LastName]

Set the criteria for this field:

Like "*" & [Forms]!Formname]![SearchfieldOnForm] & "*"

JR
 
yes a query would be the way, though I would probably use the Like "*" & [Forms]!Formname]![SearchfieldOnForm] & "*"
two times once in the Firstname and once in the last name, the second time though as an "OR" ... that is in design few make it one row lower.
 
thank you very much guys
i like the way that u treat us and support us with

but in fact guys i didn't get the point can i sent u the data
and you do the search for me pleaseeeeeee
 
See attached

JR
 

Attachments

Last edited:

Users who are viewing this thread

Back
Top Bottom