Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

running totals

Status
Not open for further replies.

jomarelectric

IS-IT--Management
Jan 19, 2007
36
CA
access 2002

hello, all..

i need to do a running total.

my invoice field can either startwith "C" (cash sale) or "0" (account). i need only the invoices that startwith "C".

in crystal reports i create a formula like this in my running total:

Code:
left({INIH.INVOICE},1) = "C"

can i do something similar in access w/out getting into VB?
 
You can set the control source of a textbox to, say:

[tt]=IIf(Left([Invoice],1)="C",[Amount],0)[/tt]

And then set Running Sum to Over All or Over Group, as appropriate.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top