|
-
March 15th, 2004, 01:52 PM
#1
Catching SQL query
Hi
I have a very simple SQL query like this:
strSQL = "select max(fieldname) from tablename"
'Open connection ...
'Excute query...
'Until here everything goes well ...
dim iMax as integer
'Error getting value
iMax = rs.Fields("fieldname").value
But it doesn't work. Anyone any idea?
Greetings,
Jay
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|