p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > Visual Basic > VB 6 Visual Basic 6 > VB Databases Basics
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB Databases Basics Beginning-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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 23rd, 2005, 01:29 AM
Authorized User
 
Join Date: Aug 2005
Location: Kuching, Sarawak, Malaysia.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Calverstine Send a message via MSN to Calverstine
Default Integrating SQL with visual basic function, how??

hello everyone

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]

from Calverstine
my email

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrating Crystal Reports 10 in Visual Basic 6 vava2300 VB Components 2 December 28th, 2006 09:57 AM
How to use Visual Basic 6 connect to SQL server? mytreasure23 SQL Server 2000 2 August 31st, 2006 06:02 AM
excel's yield function equivalent in visual basic thisisprem Beginning VB 6 2 April 25th, 2006 03:06 AM
Integrating SQL with visual basic function, how?? Calverstine VB How-To 0 October 23rd, 2005 01:27 AM
SQL and Visual Basic mytreasure23 SQL Server 2000 1 November 9th, 2004 03:26 AM



All times are GMT -4. The time now is 02:24 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc