Hi
Have four columns in a query. Columns are text. Want to do an IF statement - would usually do a IF(ISTEXT)) in excel. So in my query I have started with the following:
NewStyle: IIf([GroupA - Quantity]![Inventory.Style]="",[GroupB - Quantity]![Inventory.Style],[GroupA - Quantity]![Inventory.Style])
Based on and IF(ISTEXT) statement - if GroupA is empty then enter GroupB.
The result is only GroupA is entered - blank for GroupB - so obviously won't work when I extend it out to GroupC or GroupD.
Any ideas?
Thanks, Juliet
Have four columns in a query. Columns are text. Want to do an IF statement - would usually do a IF(ISTEXT)) in excel. So in my query I have started with the following:
NewStyle: IIf([GroupA - Quantity]![Inventory.Style]="",[GroupB - Quantity]![Inventory.Style],[GroupA - Quantity]![Inventory.Style])
Based on and IF(ISTEXT) statement - if GroupA is empty then enter GroupB.
The result is only GroupA is entered - blank for GroupB - so obviously won't work when I extend it out to GroupC or GroupD.
Any ideas?
Thanks, Juliet