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
Using Form for Criteria for Report Basenji Microsoft Access Reports 3 14th Sep 2009 10:46 PM
Report Criteria in Form Jennie Microsoft Access 3 11th Jan 2008 11:37 AM
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
Pop-Up Form to get Report Criteria Mary Lou Microsoft Access Reports 0 28th Jul 2004 11:21 PM
Re: Report Criteria Form Fredg Microsoft Access Form Coding 1 12th Aug 2003 07:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:37 AM.