Slecting a field then retrieving the specified records. [U]
How i can search my database by entering some value in one of my controls ???
say forexample that i have 2 textboxes and 2 combo's and 5 listboxes
if i entered a value in one of these controls ... and when i press Find Command Button .. i should retrieve the specified record
this is one questin ...
actually i have alot of questions .... i will post the rest of my questions later on ...step by step ...
i know that i am asking too much these days
p.s1. i am using access database ...and i am not using adobconnection.
p.s2. and if i have several records that match the same criteria i had entered ... how i can manage/view these records ? using Next/Previous record ? Right ?
Have a nice day all ...
Where Ignorance Is Bliss , It's Folly To Be Wise
---------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
You seem very experienced with Database programming
If you aren't using adodbconnection, what are you using then?
You'll have to use sql to retrieve the records. Construct the sql command on the fly, based on the values entered.
You got it.
Abu Haider
____________________________ 100% Data Validation for the MS DataGrid Control. Plus Support for Custom and Foreign Lists, DatePicker and much more... The DataGridEnhancer
I often point to a place where the problem has been discussed, instead of giving you the code that solves it. This is for good, may be you will understand some day...
The greatest advice on Database programming:
USE ADO INSTEAD OF DAO.
DAO is worth forgetting.
Abu Haider
____________________________ 100% Data Validation for the MS DataGrid Control. Plus Support for Custom and Foreign Lists, DatePicker and much more... The DataGridEnhancer
I often point to a place where the problem has been discussed, instead of giving you the code that solves it. This is for good, may be you will understand some day...