G
Guest
In advance, thanks for your help. What I want to do is test a field called
cost or Net and when it contains "cost", I want to further analyize two other
fields. One field is the country and the other is a sales order type. When
that condition is true, I then want to divide the cost by 10. If the Cost or
Net field contains Net, I then want to use the net price. Here is the
statement I have generated but am getting a syntax error. Your input is
greatly appreciated.
Unit Value: IIf([Cost or Net]="Cost" And [Country]="MX" And
[SalesDocType]="YEKL",(([Unit Cost]/10),[Unit Cost]),[Net Unit Price])
Randy
cost or Net and when it contains "cost", I want to further analyize two other
fields. One field is the country and the other is a sales order type. When
that condition is true, I then want to divide the cost by 10. If the Cost or
Net field contains Net, I then want to use the net price. Here is the
statement I have generated but am getting a syntax error. Your input is
greatly appreciated.
Unit Value: IIf([Cost or Net]="Cost" And [Country]="MX" And
[SalesDocType]="YEKL",(([Unit Cost]/10),[Unit Cost]),[Net Unit Price])
Randy