Access 2003 report parameter problem

P

Peter Kaufman

Hi,

This worked in previous versions of Access, but not 2003. This is an
adp. Not sure if it is an adp/report/form or some other problem.

I have a form which has a property, prpWasAutoID, and a command button
that opens a report.

The report's recordsource is a parameterized stored procedure. The
input parameter of the report is as follows:
@pintWasAutoID=forms!frmWas.prpwasAutoID

At the time the report opens, debug confirms a valid value for
forms!frmWas.prpwasAutoID, however Access errors with a popup request
for the value. I've tried various ways of referencing the property
like forms("frmWas").prpWasAutoID but so far nothing works.

There are no reference errors and the app complies okay. Same app
works fine in Access 2000 and XP.

Any ideas appreciated

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top