Hi Everybody,
I haven't found good literature on the diference between fields and parameters for the QueryDef object. Therefore, I've decided to ask someone out there.
I'm trying to link a query to a form text but I'm getting a message that says
- Item not found in this collection
In the line that has >> (see below)
Here my code ...
Dim qDef As QueryDef
' Assign the query to the query object
Set qDef = CurrentDb.QueryDefs("qry training schedule attendees action"
' Define the variable
>> qDef.Parameters("GroupID"
= Me!GroupID
qDef.Execute
Thanks for any help or suggestions
Vanleurth
I haven't found good literature on the diference between fields and parameters for the QueryDef object. Therefore, I've decided to ask someone out there.
I'm trying to link a query to a form text but I'm getting a message that says
- Item not found in this collection
In the line that has >> (see below)
Here my code ...
Dim qDef As QueryDef
' Assign the query to the query object
Set qDef = CurrentDb.QueryDefs("qry training schedule attendees action"
' Define the variable
>> qDef.Parameters("GroupID"
qDef.Execute
Thanks for any help or suggestions
Vanleurth