VB4: Parameter query&Data Control? 
Author Message
 VB4: Parameter query&Data Control?

Please help me!

Why this code doesn't work:

Dim Qd As Querydef, Rs as Recordset
Data1.RecordSource = "Titles"

Set Qd = Data1.Database.QueryDefs("MyParameterQuery")
Qd.Parameter("Enter State")= "WA"

Set Rs = Qd.Openrecordset(Qd,dbOpenDynaset)
Set Data1.Recordset = Rs

This code is from VB4's help item:

Using Parameter Queries With the Data Control Example.

Does it need some extra code ?

Wed, 09 Aug 2000 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. PARAMTER query & Data Control in VB4

2. Passing Parameters to stored parameter queries using VB 5's Data Controls

3. Data Environment & parameter query

4. Parameter query for Bound Data Control

5. HELP with Parameter queries and Data Control

6. Parameter Queries and Data Controls

7. Using Parameter Queries and Data Controls

8. Parameter Queries and Data controls

9. Help! Parameter Query via Data Control

10. Data Control and Query Parameters Question

11. Parameter Queries in a VB data control

12. How to bind Parameter Query to Data Control ?


Powered by phpBB® Forum Software