i have record saved in access database. with few fields, like item,rate,qty,total, p_date. i need to generate report of system date record only. suggest me that this sql statement will work or not, select*from table1 where p_date=date$;
umesh.sahni.35
0
Newbie Poster
Recommended Answers
Jump to PostNope, it will not work...
Assuming that you are using vb6 (looks almost like php...), try the following -
SELECT * FROM table1 WHERE p_date ='" & date$ & "'" ''All depends on what/where your date$ is coming from!!!
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.