Please, help with this problem.
I had inherrited a query.
IIf([reg/temp]="R","Regular",IIf([tbl_1]![Grade]="IC","Ind Contractor",IIf([reg]="t",IIf([long descr]="RH","Contract",
IIf([reg]="t",IIf([long descr]="PT" And [tbl_1]![TYPE]<>"Home","Temp","Don't Know"))))))
_______________________________________________
It gets in union with another query
IIf([tbl_1]![type] Is Null,"Office",IIf([TBL]!
I had inherrited a query.
IIf([reg/temp]="R","Regular",IIf([tbl_1]![Grade]="IC","Ind Contractor",IIf([reg]="t",IIf([long descr]="RH","Contract",
IIf([reg]="t",IIf([long descr]="PT" And [tbl_1]![TYPE]<>"Home","Temp","Don't Know"))))))
_______________________________________________
It gets in union with another query
IIf([tbl_1]![type] Is Null,"Office",IIf([TBL]!
Code:
="Office","Office",IIf([tbl_1]![code]="Home","Home or Client",
IIf([tbl_1]![code]="Client","Home or Client","don't know"))))
When executed - I need to have 5 columns with names
Regular
Contract
Home or Client
Temp
Ind Contractor
I am assuming because of these queries are not in sync column-wise - wrong numbers getting into wrong columns.
When I am trying to re-arrange order of the columns it tells me - wrong number of arguments.
Please, help me to get the result as it has to be 5 columns in order I had put.
If possible, please.
Thanks,T