Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

small query question

Status
Not open for further replies.

devagupt

Vendor
Oct 27, 2006
40
US
IIf([Inspect only]=-1 ,[Actual],0)
This generated one result. How do i make it generate the exact opposite result?
 
Exact opposite? As in if Inspect is false?
IIf([Inspect only]=0 ,[Actual],0)

Or as in zero, if Inspect is true?
IIf([Inspect only]=-1,0 ,[Actual])

You will find information on IIf in Access VBA Help.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top