Morning Everyone,
We introduced a lookup table some time ago to allow for drop down menu's in our interfaces, configured at the project level. So far, this has worked as expected. If you haven't looked into this, I highly suggest it.
The basic select statement we have is the usual..
SELECT value, value_description FROM LOOKUP_TABLE where ATTRIBUTE='AREA' AND PROJ_NO=$PROJECT#PROJECT_Project_Number$ ORDER BY SORT_ORDER
So far so good.. the query above finds the records that are related to the project number the user is working in. check.
What I'd like to do is have a query that will query the records as above, but if the results are null, query a second set of records where PROJ_NO = 000000. This would allow us to have a default set of values, where not overridden by values defined by the project.
Any thoughts on how to achieve this?
Paul Patterson