Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Visual Basic only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Visual Basic
Where clause + VB
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
cptcanada
New Member
Join Date:
May 2008
Posts:
19
#1
Where clause + VB
May 29 '08, 03:52 PM
Why does it say WHERE DATE()>date_des troyed is not a roconized function in VB?
Thanks for the help
jeffstl
Recognized Expert
Contributor
Join Date:
Feb 2008
Posts:
432
#2
May 29 '08, 08:16 PM
Originally posted by
cptcanada
Why does it say WHERE DATE()>date_des troyed is not a roconized function in VB?
Thanks for the help
That should be part of your SQL string. VB Should not be compiling it.
Nevertheless the SQL date functions do not work like that. You need :
Select CURRENT_TIMESTA MP (or CURRENT_DATE or CURRENT_TIME)
Kind of depends on what you want to do and what kind of database server you are using (Access, MySQL, etc)
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment