user input for report

  • Follow


Hello,

I have this expression in a subreport textbox "Total Personnel with Fringe":
=([AccessTotalsempencumb]+[AccessTotalsemppaid])*1.24

The two totals boxes are above this.  The report is grouped by AccountNumber 
(report based off of table Account, and subreport off of table 
EmpTransactions linked by AccountNumber).

When one opens the report, I would like the user to input any number instead 
of "1.24" as it changes yearly (this would be the fringe)
..
I tried putting [Enter Fringe Amount], which was funny because it popped up 
that parameter box over 100 times corresponding to the number of accounts, I 
presume.

How can I ask for it a fringe amount once?

Thank you kindly,
Lori
0
Reply Utf 12/16/2009 7:31:01 PM

Put your   [Enter Fringe Amount]   in the query feeding the subreport like 
this --
    Fringe: [Enter Fringe Amount] 

           then in the subreport do this --
            "Total Personnel with Fringe":  
=([AccessTotalsempencumb]+[AccessTotalsemppaid])*[Frimge]

-- 
Build a little, test a little.


"Lori" wrote:

> Hello,
> 
> I have this expression in a subreport textbox "Total Personnel with Fringe":
> =([AccessTotalsempencumb]+[AccessTotalsemppaid])*1.24
> 
> The two totals boxes are above this.  The report is grouped by AccountNumber 
> (report based off of table Account, and subreport off of table 
> EmpTransactions linked by AccountNumber).
> 
> When one opens the report, I would like the user to input any number instead 
> of "1.24" as it changes yearly (this would be the fringe)
> .
> I tried putting [Enter Fringe Amount], which was funny because it popped up 
> that parameter box over 100 times corresponding to the number of accounts, I 
> presume.
> 
> How can I ask for it a fringe amount once?
> 
> Thank you kindly,
> Lori
0
Reply Utf 12/16/2009 7:50:02 PM


Typo in last part.
-- 
Build a little, test a little.


"Lori" wrote:

> Hello,
> 
> I have this expression in a subreport textbox "Total Personnel with Fringe":
> =([AccessTotalsempencumb]+[AccessTotalsemppaid])*1.24
> 
> The two totals boxes are above this.  The report is grouped by AccountNumber 
> (report based off of table Account, and subreport off of table 
> EmpTransactions linked by AccountNumber).
> 
> When one opens the report, I would like the user to input any number instead 
> of "1.24" as it changes yearly (this would be the fringe)
> .
> I tried putting [Enter Fringe Amount], which was funny because it popped up 
> that parameter box over 100 times corresponding to the number of accounts, I 
> presume.
> 
> How can I ask for it a fringe amount once?
> 
> Thank you kindly,
> Lori
0
Reply Utf 12/16/2009 7:51:01 PM

Your data belongs in tables.

I would create a small one record, one field table and use it to store the 
Fringe rate. Then add this table to your report's record source (no joins) so 
you can use the Fringe value anywhere you want. The users can easily update 
the table once per year.

If you want to a  little more functionality, you can add a year field and 
limit the records to the appropriate year.

-- 
Duane Hookom
Microsoft Access MVP


"Lori" wrote:

> Hello,
> 
> I have this expression in a subreport textbox "Total Personnel with Fringe":
> =([AccessTotalsempencumb]+[AccessTotalsemppaid])*1.24
> 
> The two totals boxes are above this.  The report is grouped by AccountNumber 
> (report based off of table Account, and subreport off of table 
> EmpTransactions linked by AccountNumber).
> 
> When one opens the report, I would like the user to input any number instead 
> of "1.24" as it changes yearly (this would be the fringe)
> .
> I tried putting [Enter Fringe Amount], which was funny because it popped up 
> that parameter box over 100 times corresponding to the number of accounts, I 
> presume.
> 
> How can I ask for it a fringe amount once?
> 
> Thank you kindly,
> Lori
0
Reply Utf 12/16/2009 9:54:01 PM

3 Replies
478 Views

(page loaded in 0.375 seconds)

Similiar Articles:
















7/22/2012 4:54:23 AM


Reply: