pdvsa
asked on
Switch
Expets, can I modify a SWITCH for anything that does not fit the parameters to be categorized as "Other"? sorta like an IIF statement.
thank you,
here it is:
MyLCType: Switch([tblLCTypeDropBox]. [LCType] Like "*Bid*","Bid Bond",[tblLCTypeDropBox].[ LCType] Like "*Performance*","Performan ce Bond",[tblLCTypeDropBox].[ LCType] Like "*Advance*","Advance Payment Bond",[tblLCTypeDropBox].[ LCType] Like "*Insurance*","Insurance Bond",[tblLCTypeDropBox].[ LCType] Like "*Bid*","Bid Bond",[tblLCTypeDropBox].[ LCType] Like "*Surety*","Surety Bond",tblLCTypeDropBox].[L CType] Like "*Parent*","Parent Company GT",[tblLCTypeDropBox].[LC Type] Like "*Facility*","Credit Facility Bond")
thank you,
here it is:
MyLCType: Switch([tblLCTypeDropBox].
ASKER
mx: it does not save like that for some reason. I copy it and tab out but it does not save it.
Not sure what you mean ... does not save ?
mx
mx
1=1,"OTHER" just says that ... if none of the other conditions apply, then this is the clean up condition ... catch all condition.
mx
mx
ASKER
Mx, what i mean is that when in query design window and use that equation and tab out of the column it will not save what i just entered. I have encountered this before and it is usually a syntax or something like that... Let me know what you think...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
that was it...thank you!
MyLCType: Switch([tblLCTypeDropBox].