PC Review


Reply
Thread Tools Rate Thread

Form as report prompter

 
 
Jason
Guest
Posts: n/a
 
      10th Aug 2004
I have a report I want to open a form I have that is a
pulldown list of clients and then a start/end date field.
I want this form to open first so I can enter the
criteria before the report runs. I have a query setup as
well with the criteria as [Forms]![Clients]![Category],
but how do I tell the report to grab this form?

I can send the database to someone if they could help me.

 
Reply With Quote
 
 
 
 
dlw
Guest
Posts: n/a
 
      10th Aug 2004
Or, make a simple macro that runs the report, put a button
on the form that runs the macro. It's all easy point and
shoot stuff.
 
Reply With Quote
 
 
 
 
fredg
Guest
Posts: n/a
 
      10th Aug 2004
On Tue, 10 Aug 2004 12:52:51 -0700, Jason wrote:

> I have a report I want to open a form I have that is a
> pulldown list of clients and then a start/end date field.
> I want this form to open first so I can enter the
> criteria before the report runs. I have a query setup as
> well with the criteria as [Forms]![Clients]![Category],
> but how do I tell the report to grab this form?
>
> I can send the database to someone if they could help me.


In the report's Open Event:
DoCmd.OpenForm "FormName", , , , , acDialog

In the Report's Close Event:
DoCmd.Close acForm, "FormName"

On the form used to enter the parameters, add a command button.
Code It's Click event:
Me.Visible = False

When you open the Report, the report will first open the form. Enter
the parameters. When done, click the command button. The report will
display or print. When you close the report, the form will be closed.

--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
 
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
scroll text, like tele-prompter =?Utf-8?B?T3JhbmdlUGVlbA==?= Microsoft Powerpoint 6 1st Mar 2007 02:53 AM
Report with Sub-Report with NO-DATA on Sub-Report =?Utf-8?B?Um9iZXJ0IE51c3ogQCBEUFM=?= Microsoft Access Reports 11 16th Feb 2006 06:20 PM
Report / Sub report data source lost when adding a new sub report =?Utf-8?B?Sm9lIE1jQw==?= Microsoft Access Reports 5 4th Apr 2005 07:27 PM
Report button linked to exact report record- Open report method? =?Utf-8?B?UmljaA==?= Microsoft Access Forms 1 27th May 2004 06:17 PM
presentation prompter dc Microsoft Powerpoint 1 18th Sep 2003 03:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:56 AM.