Re: Loading query into a recordset...
From: Goe (Goe_at_discussions.microsoft.com)
Date: 08/31/04
- Next message: Dirk Goldgar: "Re: More clarification from you Code Masters Please"
- Previous message: moondaddy: "Web Services and Access"
- In reply to: Ken Snell [MVP]: "Re: Loading query into a recordset..."
- Next in thread: Ken Snell [MVP]: "Re: Loading query into a recordset..."
- Reply: Ken Snell [MVP]: "Re: Loading query into a recordset..."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 30 Aug 2004 19:59:01 -0700
Hi,
Actually, i've tried that before when i read someone else's posts, and i
received the following error:
Runtime error '2482':
MS Access can't find the name 'Please enter Rep Code below:' you entered in
the expression.
That expression 'Pls...' is in one of queries in Criteria as [Pls...].
Thank you Ken!!!
"Ken Snell [MVP]" wrote:
> Between these two lines of code:
>
> Set qdf = MyDB.QueryDefs("Q- Rep Planner")
> Set MyRecordSet = qdf.OpenRecordset("Q- Rep Planner")
>
> put these lines of code to evaluate the parameters:
>
> For Each prm in qdf.Parameters
> prm.Value = Eval(prm.Name)
> Next prm
>
>
> --
>
> Ken Snell
> <MS ACCESS MVP>
- Next message: Dirk Goldgar: "Re: More clarification from you Code Masters Please"
- Previous message: moondaddy: "Web Services and Access"
- In reply to: Ken Snell [MVP]: "Re: Loading query into a recordset..."
- Next in thread: Ken Snell [MVP]: "Re: Loading query into a recordset..."
- Reply: Ken Snell [MVP]: "Re: Loading query into a recordset..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|