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
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Visual Basic
using Max function (SQL)
using Max function (SQL)
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
Mzgee
New Member
Join Date:
Feb 2007
Posts:
1
#1
using Max function (SQL)
Feb 8 '07, 08:19 AM
Can i ask for a sample format using MAX ( sql query) in vb 6.0
willakawill
Top Contributor
Join Date:
Oct 2006
Posts:
1646
#2
Feb 8 '07, 08:34 AM
Hi. Use of MAX() is the same for vb or any language because it is used in embedded SQL statements e.g.
Code:
SELECT MAX([fieldname]) AS TheMax FROM [tablename]
Comment
Post
Cancel
arunbalait
New Member
Join Date:
Feb 2007
Posts:
164
#3
Feb 8 '07, 08:44 AM
Hi
Its same as that of using other sql statements in VB. But before that declare oledb command or recordset.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment