Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP

Status
Not open for further replies.

giggs11

Programmer
Dec 5, 2001
21
CA
I know that for Data control you can use the Index and Seek function to search for records in the db , but what do i use for the Ado control? I seem to be getting an error when i use Adodc1.recordset.index and Adodc1.recordset.seek Also, how do i set conditons? eg. User cannot go on to the next field on the form without entering something in the previous field.


Simon
 
To validate user's input soon after it's typed, you can use the LostFocus or Validate event. Put your validation code here.

btw, if you have trouble with the data control, then i suggest you to stay away from it. Unbound method is more flexible and can give more fun ;-)
 
For the ado control try using aodc1.reordset.find Mark

The key to immortality is to make a big impression in this life!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top