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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Seek to find a range

Status
Not open for further replies.

sjulian

Programmer
Aug 15, 2000
56
US
I am working in VB6 on a SQL2000i database. The date field is indexed. I know how to get a recordset of all records with a certain date in the date field. Can I return a recordset based on a date range?
 
What interface are you using in VB6? ADO/OLEDB? ActiveX? Btrieve API? The answer really depends on which one you're using.


Linda
Pervasive Software Support
 
Thank you for your response, I am using ADO and figured out that I could just use >= and <= in my SQL statement and it worked just fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top