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!

Dataset filter problem

Status
Not open for further replies.

hlybbi

Programmer
Mar 19, 2003
91
IS
i am having trouble filtering datatable

how can i do this WHERE theDate BETWEEN #1.1.2000# AND #1.1.2002#

this work
TestBindingSource.Filter = "theDate=#1.1.2000#";

Best regards Hlynur
 
change this
Code:
theDate BETWEEN #1.1.2000# AND #1.1.2002#

to this
Code:
 theDate >= #1.1.2000# and theDate <= #1.1.2002#
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top