Code For Select Statement (1 Viewer)

Shamass94

New member
Local time
Today, 15:00
Joined
Dec 13, 2016
Messages
7
Hi Guys...
I want a code in Access that let me search for a record by specific filter,like if choose from a combo box a field like customer name or phone number, and type the name or the number in another field, click the search button to search for the input data from the specified field.
plz can any one help
 

Shamass94

New member
Local time
Today, 15:00
Joined
Dec 13, 2016
Messages
7
Yes its very useful thanks, i wrote the code and i think its gd but there is an error i cant find it, it give me Runtime (13) when i click it, Plz check the attachment to know what I am talking about...

Search.Buttom.jpg
Search.Criteria.PNG
Search.Error.PNG
 

NauticalGent

Ignore List Poster Boy
Local time
Today, 18:00
Joined
Apr 27, 2015
Messages
6,341
You "If Not IsNull..." code is Boolean. In other words, it is looking for a value of True or False.
 

Users who are viewing this thread

Top Bottom