|
-
Jul 7th, 1999, 07:28 PM
#1
can access pass parameters?
-
Jul 8th, 1999, 02:19 PM
#2
Addicted Member
Do you mean that you have created a parameterised query in Access and want to implement it through VB code?
If so then use a Querydef and it's parameters properties to pass the param values before executing it to get the results.
eg
Dim paramQ As QueryDef
Dim aRS As Recordset
Set paramQ = CurrentDb().QueryDefs("query")
paramQ.Parameters("ReqDate") = #12/3/99#
Set aRS = paramQ.OpenRecordset
Regards.
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
|