I have a query and I need to be able to prompt for 3 pieces of information, see below.
WHERE
(ccg.Name = 'MCG - Grays Harbor Comm Hosp' or
c.customer = xxxxxxxx)
AND C.COB = '00500 - Early Out Clients'
c.cob is ALWAYS needed, however, if they fill in ccg.name then c.customer can be blank or vice versa, however, there are multiple c.customers for a ccg.name so if they choose ccg.name I need it to grab all the c.customers under it. I really hope this makes sense.
WHERE
(ccg.Name = 'MCG - Grays Harbor Comm Hosp' or
c.customer = xxxxxxxx)
AND C.COB = '00500 - Early Out Clients'
c.cob is ALWAYS needed, however, if they fill in ccg.name then c.customer can be blank or vice versa, however, there are multiple c.customers for a ccg.name so if they choose ccg.name I need it to grab all the c.customers under it. I really hope this makes sense.