pass variable to criteria
anonymous_at_discussions.microsoft.com
Date: 04/19/04
- Next message: John Viescas: "Re: Query Error Message"
- Previous message: Brian Camire: "Re: replacing of semi-joins"
- Next in thread: John Viescas: "Re: pass variable to criteria"
- Reply: John Viescas: "Re: pass variable to criteria"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 19 Apr 2004 07:48:54 -0700
Hi all,
Is there a way to do this? I've listed some of the code
I've set up for what I want to accomplish but I get error
messages.
---------
Public Type BeginEndMonth
BeginDate As Variant
EndDate As Variant
End Type
---------
Global PassDate As BeginEndMonth
---------
PassDate.BeginDate = "4/1/2004"
PassDate.EndDate = "4/30/2004"
---------
Between [PassDate.BeginDate] And [PassDate.EndDate]
(This is the criteria in the query. I've even tried
passing this as a function)
- Next message: John Viescas: "Re: Query Error Message"
- Previous message: Brian Camire: "Re: replacing of semi-joins"
- Next in thread: John Viescas: "Re: pass variable to criteria"
- Reply: John Viescas: "Re: pass variable to criteria"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|