-----Original Message-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I said [From] & [To] are not RECOMMENDED. I did not say unusable.
The reason I recommended that you put the PARAMETERS in the SELECT
query, that the cross-tab is based on, is because it is usually
easier/better to filter out any data you don't want from the source
before running the cross-tab. But, cross-tab queries can have a
PARAMETERS clause and those parameters can be used in the cross-tab
query.
Your first post did not quote the complete query error: "does not
recognize...." Does not recognize what?
It would be better if you just posted the SQL of the cross-tab and the
select query it is based on. Then we can see what you are working with.
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBQIbVQ4echKqOuFEgEQIBMACgkyaxRULzOvizd2gOJHGq+v7stH 4AnAii
jtUUP/MCRSTDOKPeSmWG7kdH
=9WVg
-----END PGP SIGNATURE-----
Im totally confused on what you are saying? Are you
telling me this to write in a sql query because its not
an sql query on any regular select query i could
always put in between [ ] and [ ] and it would prompt
me to put the date in. this is still the case but now it
seems with a crosstab i cant do this it never mattered
what i put in the [ ] [ ] from or to or whatever it
would didnt matter so im confused on what you are
saying is this something with xp we recently switched
to xp ive done this date range before no problems
-----Original Message-----
Dan wrote:
i have a crosstab query that runs off of a select
query.
im trying to make the crosstab a pop up by doing
between
[from] and [to] but it gives me an error message that
the
microsoft engine database does not recognize can i
not
do a pop up?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The words "from" and "to" are SQL keywords and are not
recommended as
parameter names. If you mean a parameter prompt, then
try this for your
SELECT query:
PARAMETERS [From ?] Date, [To ?] Date;
SELECT ...
WHERE DateColumn BETWEEN [From ?] And [To ?]
.... etc. ...
This assumes the From & To parameters are Date values.
If they aren't,
change the PARAMETERS clause to match whatever data
type
they truly are.
.