Re: Where Condition? - Passing Unique ID to My Report?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Marshall,

thanks for your reply......

Can you explain exactly what code i need - im a tad confused (im new to the
whole coding thing) - many thanks,

Neil

"Marshall Barton" wrote:

> Neil wrote:
> >I have a form with a button on it, which i put on via the wizard - this
> >opens up a report.
> >
> >My Report is run from a query, which requires a unique id - i want my button
> >to pass my unique id from the record currently on the form, to the report it
> >is opening up - what code do i need to achieve this?
>
>
> THe report can refer to the value on the form the same way
> the query does. For example, a report text box can use an
> expression like:
> =Forms!theform.theIDtextbox
>
> --
> Marsh
> MVP [MS Access]
>
.


Quantcast