Hi,
I want to create a view based on two tables called A and B. The 2 tables are joined by the employeeID (A.PEmployeeID = B.PEmployeeID)
These are the fields needed in the view.
1) A.BACHNUMB
2) A.PEmployeeID
3) A.PIncomeCode
4) A.PLineTotal
5) A.PDescription
6) If (A.PDepartment)<>'' then (A.PDepartment) else (B.PDepartment)
The problem I have is that I do not know how to create the syntax in order to populate the last field.
Can someone help me please?? I can provide more details if this is not clear..
Thanks a lot.