It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

Date Problem in VB6

Moderator: dafunkymunky

Date Problem in VB6

Postby imagetvr on Tue Apr 01, 2008 3:40 pm

hello

I have a problem in using date

Database = Access
Visual basic 6

I am connecting Access database in visual basic. I have one field named

saledate : date/time (data format)


I am using query to filer records

query

sql = "select billno,saledate,items,qnt,grandtotal from sales where saledate >= " & Trim(ddate) & "" and saledate<=" & (ldate) & ""

whereas ddate and ldate are input items to filter records the query in now working please guide what is error in above query


Thanks
senthil kumar.A
imagetvr
 
Posts: 3
Joined: Sun Feb 18, 2007 5:30 am

Who is online

Users browsing this forum: No registered users and 5 guests