|
-
Aug 25th, 2000, 09:36 AM
#1
Using VB6 & Access 2000
Can anyone tell me how I can get the result of the
query below into a variable.
PriCmd.CommandText = "SELECT MAX(Pnum) AS MaxPage FROM PInfo"
PriCmd.Execute
I have tried creating MaxPage as a parameter but it won't
seem to let me specify it as an output parameter.
I know if a recordset was being returned I could do:-
set rs = PriCmd.Execute
But what do I do when just a value is being returned.
Thanks in advance
SeanR
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
|