VB Databases BasicsBeginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the VB Databases Basics section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
anyway, i am working on a project where it requires me to find all the record from a table to display the record which, is expired from the current date
that means i would like to find the differences between between date retrieved from a table and date[current date] using the visual basic "Date" function ..
how do i do it, anyone has any idea that could help me???? :confused:
e.g. monthly.RecordSource = "SELECT * FROM Mmain WHERE Term='monthly'
AND " & DateDiff("d", &" MAAmain.[Date1] " &, d1) & " >31"
THANKSSS
is there any other method i can find difference too?? feel free to drop your suggestion while i can try on it..thanks [hehe]
[p/s: i am using adodc to retrieve data]