Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / April 2007

Tip: Looking for answers? Try searching our database.

summing in report

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
stephendeloach - 11 Apr 2007 15:48 GMT
I have a report that has a running sum of Total Hours and Total Money. The
problem i have run into is, 14640 hours need to be multiplied by $45 and the
rest of the hours from now on need to by multiplied by $51... How can I go
about doing this without re-creating my report?
fredg - 11 Apr 2007 18:26 GMT
> I have a report that has a running sum of Total Hours and Total Money. The
> problem i have run into is, 14640 hours need to be multiplied by $45 and the
> rest of the hours from now on need to by multiplied by $51... How can I go
> about doing this without re-creating my report?

Does this work properly?

=IIf([TotalHours]<=14640,[TotalHours]*45,(14640 * 45) +
([TotalHours]-14640) * 51)
Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

stephendeloach - 11 Apr 2007 20:05 GMT
Actually, let me rephrase that... I have a list oh Hours and a list of Cost...
In the Report footer, I have Total Hours =SUM([Wildcat])   <-- Wildcat is
Hours    and   Total Cost  = (this is where you said to put the expression).
Now how would I type the expression... =IIf([??????])....
Dont know if this makes sense. But thanks for your time..

>> I have a report that has a running sum of Total Hours and Total Money. The
>> problem i have run into is, 14640 hours need to be multiplied by $45 and the
[quoted text clipped - 5 lines]
>=IIf([TotalHours]<=14640,[TotalHours]*45,(14640 * 45) +
>([TotalHours]-14640) * 51)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.