By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,857 Members | 1,793 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,857 IT Pros & Developers. It's quick & easy.

DoCmd.OpenReport RPT_TEST, A_PREVIEW, QueryAsFilter fails in A97

P: n/a
Dear All,
DoCmd.OpenReport RPT_TEST, A_PREVIEW, QueryAsFilter doesn't work correctly
in A97 but works OK in A2K.

Is this a bug for A97 ?

Filip

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You have to put quotes around the query/filter name, and the report
name. E.g.:

DoCmd.OpenReport "RPT_TEST", A_PREVIEW, "QueryAsFilter"

unless RPT_TEST and QueryAsFilter are string variables/constants.

--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQMYJnYechKqOuFEgEQKZOACgyH+ZEmkhkhNI/PvgMdVC5/nqnbEAnRqo
yRO33rjEiIRK8ibsXE6sPGnr
=0sTi
-----END PGP SIGNATURE-----
Filips Benoit wrote:
Dear All,
DoCmd.OpenReport RPT_TEST, A_PREVIEW, QueryAsFilter doesn't work correctly
in A97 but works OK in A2K.

Is this a bug for A97 ?


Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.