Re: "OR" IN QUERY
From: Graeme Richardson (graeme_at_wave_nospam.co.nz)
Date: 05/10/04
- Next message: Lynn Trapp: "Re: "OR" IN QUERY"
- Previous message: Jim Carlock: "Re: merge multiple databases"
- In reply to: Bill Gargan: ""OR" IN QUERY"
- Next in thread: Bill Gargan: "Re: "OR" IN QUERY"
- Reply: Bill Gargan: "Re: "OR" IN QUERY"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 May 2004 07:52:21 +1200
Hi Bill, the OR(Expr1, Expr2, ...) syntax is for Excel. It won't work in MS
Access
MS Access requires Expr1 OR Expr2 OR ...
Hence your statement becomes:
PRICE: IIf(([INVOICE DETAIL]![ITEM TYPE]="MATERIALS" OR
[INVOICE DETAIL]![ITEM TYPE]="SUBCONTRACT"),ROUND
([QUANTITY]*[RATE]*1.265,2),ROUND([QUANTITY]*[RATE],2))
Hope this helps, Graeme.
- Next message: Lynn Trapp: "Re: "OR" IN QUERY"
- Previous message: Jim Carlock: "Re: merge multiple databases"
- In reply to: Bill Gargan: ""OR" IN QUERY"
- Next in thread: Bill Gargan: "Re: "OR" IN QUERY"
- Reply: Bill Gargan: "Re: "OR" IN QUERY"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|