Hi,
I don't know if this can be done.
I have two tables, job and subjob.
Job
====
(schema)..,Industry_No, Client_No, Job_No, Job_Name, ...
(record#1)..,01,01,00,Administration
(record#2)..,01,01,01,Marketing
(rec#3)..,01,01,02,Distribution
....
Sub Job
=======
(schema)..,Industry_No, Client_No, Job_No, SubJob_No, SubJob_Name..
(rec#1)..,01,01,00,00,
(rec#2)..,01,01,01,00,
(rec#3)..,01,01,01,01,Children Marketing
....
Sub_Job table won't have the job name if the subjob_no is 00. It'd only keep the name if there is a subjob_no there. The job table has the job name there.
So when printing a report, what i'll be using the subjob table as it has a complete list of jobs there. My question is if there's a way to check in the criteria if the subjob_name is empty or null, go looking up the job table to get the job_name in the query builder.
I've got troubled when printing a report as some of the job headings are incorrect as follows
010100 - Administration
...
010101 - Administration
Thank you for your help in advance
I don't know if this can be done.
I have two tables, job and subjob.
Job
====
(schema)..,Industry_No, Client_No, Job_No, Job_Name, ...
(record#1)..,01,01,00,Administration
(record#2)..,01,01,01,Marketing
(rec#3)..,01,01,02,Distribution
....
Sub Job
=======
(schema)..,Industry_No, Client_No, Job_No, SubJob_No, SubJob_Name..
(rec#1)..,01,01,00,00,
(rec#2)..,01,01,01,00,
(rec#3)..,01,01,01,01,Children Marketing
....
Sub_Job table won't have the job name if the subjob_no is 00. It'd only keep the name if there is a subjob_no there. The job table has the job name there.
So when printing a report, what i'll be using the subjob table as it has a complete list of jobs there. My question is if there's a way to check in the criteria if the subjob_name is empty or null, go looking up the job table to get the job_name in the query builder.
I've got troubled when printing a report as some of the job headings are incorrect as follows
010100 - Administration
...
010101 - Administration
Thank you for your help in advance