samthomasny
New Member
- Joined
- Nov 19, 2011
- Messages
- 9
Can someone please tell me what is wrong with this formula
Usage: IIf(([GTORSH]![PITEM]=[tbl_Inventory]![Item#]) And ([GTORSH]![PSHPDT]>=[BeginDate]) And ([GTORSH]![PSHPDT]<=[EndDate]),Sum([GTORSH]![PSHQTY]),0)
[BeginDate] And [EndDate] will be entered as parameter values when the query runs.
Usage: IIf(([GTORSH]![PITEM]=[tbl_Inventory]![Item#]) And ([GTORSH]![PSHPDT]>=[BeginDate]) And ([GTORSH]![PSHPDT]<=[EndDate]),Sum([GTORSH]![PSHQTY]),0)
[BeginDate] And [EndDate] will be entered as parameter values when the query runs.