krishnanhemanth
Registered User.
- Local time
- Today, 20:09
- Joined
- Jun 12, 2009
- Messages
- 115
HI
Iam using this code to get a value
=IIf(IsNull([MODELNUMBER]),0,DSum("[QTYDLVD]","PRODUCT SOLD QRY","[MODELNUMBER]=" & "[PRODUCTNUMBER]"))
this works fine
in the query "PRODUCT SOLD QRY" i have PRODUCTS field and SPARES field
Now in the Dsum along with the above code how can i get only the PRODUCTS
Now it is giving me the total of all qty including PRODUCTS and SPARES equating the MODELNUMBER and PRODUCTNUMBER
PLEASE HELP
Iam using this code to get a value
=IIf(IsNull([MODELNUMBER]),0,DSum("[QTYDLVD]","PRODUCT SOLD QRY","[MODELNUMBER]=" & "[PRODUCTNUMBER]"))
this works fine
in the query "PRODUCT SOLD QRY" i have PRODUCTS field and SPARES field
Now in the Dsum along with the above code how can i get only the PRODUCTS
Now it is giving me the total of all qty including PRODUCTS and SPARES equating the MODELNUMBER and PRODUCTNUMBER
PLEASE HELP