P
peashoe
here is sample data in table my Attendees
Company Name Room Price(this depends on what package they picked)
Ohio Health $350
Ohio Health $450
Ohio Health $130
Americheer $300
Americheer $400
what I need is for when we are at the Ohio Health record on the
Registrations form -
the txtTotal textbox to total $930. Then when we click the next record
button (which
is Americheer) the txtTotal = $700.
I tried entering the following in the txtTotal Control source:
=DSum("[Room Price]","Attendees","[Company] =
[Forms]![Registrations]![Company]")
but it gave me a sum of all prices ($1630)
any ideas on how do get what I need?
Thanks in advance
Lisa
Company Name Room Price(this depends on what package they picked)
Ohio Health $350
Ohio Health $450
Ohio Health $130
Americheer $300
Americheer $400
what I need is for when we are at the Ohio Health record on the
Registrations form -
the txtTotal textbox to total $930. Then when we click the next record
button (which
is Americheer) the txtTotal = $700.
I tried entering the following in the txtTotal Control source:
=DSum("[Room Price]","Attendees","[Company] =
[Forms]![Registrations]![Company]")
but it gave me a sum of all prices ($1630)
any ideas on how do get what I need?
Thanks in advance
Lisa