Results based on 2 expressions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the expressions below which work but now i need a second expression
based exp1 which would subtract amount entered into
Transactions.WithdrawalAmount field. Can this be done?
exp1: [DepositAmount]*1.03-[DepositAmount]
 
Thanks Duane,

This worked and i would like to know how to edit the expression since i have
four customers which have a different percentage like 3%,2%, 4%,6%. Would i
need to create a separate query for each cusID using the two expressions?

Duane Hookom said:
Try:
NewBetterName:([DepositAmount]*1.03-[DepositAmount])-Transactions.WithdrawalAmount
--
Duane Hookom
Microsoft Access MVP


jk said:
I have the expressions below which work but now i need a second expression
based exp1 which would subtract amount entered into
Transactions.WithdrawalAmount field. Can this be done?
exp1: [DepositAmount]*1.03-[DepositAmount]
 
Create a [CustPct] field in your customer table. Enter the appropriate
percentage into the new fields and use this field in your expression:
NewBetterName:([DepositAmount]*[CustPct]-[DepositAmount])-Transactions.WithdrawalAmount
--
Duane Hookom
Microsoft Access MVP


jk said:
Thanks Duane,

This worked and i would like to know how to edit the expression since i have
four customers which have a different percentage like 3%,2%, 4%,6%. Would i
need to create a separate query for each cusID using the two expressions?

Duane Hookom said:
Try:
NewBetterName:([DepositAmount]*1.03-[DepositAmount])-Transactions.WithdrawalAmount
--
Duane Hookom
Microsoft Access MVP


jk said:
I have the expressions below which work but now i need a second expression
based exp1 which would subtract amount entered into
Transactions.WithdrawalAmount field. Can this be done?
exp1: [DepositAmount]*1.03-[DepositAmount]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top