PC Review


Reply
Thread Tools Rate Thread

Criteria from form on report

 
 
AccessKay
Guest
Posts: n/a
 
      26th Apr 2010
If you have an unbound form that you use for criteria and you want your
report to display the criteria selected by the user in the page header, how
would you do that?
Thanks for any suggestions.
 
Reply With Quote
 
 
 
 
Steve
Guest
Posts: n/a
 
      26th Apr 2010
Put an unbound text box named ReportCriteria in the page header and put the
following in the report's header format event:

Me!ReportCriteria = Forms!NameOfUnboundForm!NameOfCriteriaField

Steve
(E-Mail Removed)



"AccessKay" <(E-Mail Removed)> wrote in message
news:32001A64-5D67-4DDC-8D3A-(E-Mail Removed)...
> If you have an unbound form that you use for criteria and you want your
> report to display the criteria selected by the user in the page header,
> how
> would you do that?
> Thanks for any suggestions.



 
Reply With Quote
 
 
 
 
AccessKay
Guest
Posts: n/a
 
      26th Apr 2010
Wow...something actually simple in Access. This worked perfectly. Thank you
very much!


"Marshall Barton" wrote:

> AccessKay wrote:
>
> >If you have an unbound form that you use for criteria and you want your
> >report to display the criteria selected by the user in the page header, how
> >would you do that?

>
>
> Use text box expressions in the report that refer back to
> the form. Could be as simple as:
> =Forms![unbound form].[criteria textbox]
>
> --
> Marsh
> MVP [MS Access]
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open PopUp form with criteria from Subform and criteria in Main fo Emma Aumack Microsoft Access Form Coding 1 15th Dec 2007 06:59 AM
Total from a sub-report in report footer based on criteria =?Utf-8?B?Rmx5bm55?= Microsoft Access Reports 6 27th Jul 2006 10:03 AM
cbo to pass report criteria variable to report, need help on IF statement Kovax Microsoft Access Reports 0 10th Mar 2006 11:23 PM
How to link 3 different combo boxex in a form (as report criteria) to the report Hart Microsoft Access Forms 4 1st Jul 2005 10:52 AM
Report Criteria: Query works, but report doesn't call up query??? =?Utf-8?B?QkFSS0FST08=?= Microsoft Access Getting Started 4 18th Oct 2004 06:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:32 AM.