G
Guest
I am having problems with the syntax of the following:
SD1: Nz(IIf([PolType]="19" Or [Poltype]="10" Or [PolType]="11" Or
[Poltype]="27" Or [PolType]="28",DLookUp("[SD]","[TblCharges]","[Class] =" &
[PolType] And [TransType]='"
&[TransType]"'),[Premium]*DLookUp("[SD]","[TblCharges]","[Class] =" &
[PolType])/100))
Class and Poltype and both numeric
TransType is text
Would appreciate some help. Thanks
David
SD1: Nz(IIf([PolType]="19" Or [Poltype]="10" Or [PolType]="11" Or
[Poltype]="27" Or [PolType]="28",DLookUp("[SD]","[TblCharges]","[Class] =" &
[PolType] And [TransType]='"
&[TransType]"'),[Premium]*DLookUp("[SD]","[TblCharges]","[Class] =" &
[PolType])/100))
Class and Poltype and both numeric
TransType is text
Would appreciate some help. Thanks
David