crystal2770
Technical User
I need to select specific data records from the database but cant seem to figure out the formula...
My current selection looks like this..
{TPB110_PMT_ADJ_DETAIL.pmt_pst_ts}
in DateTime (2007, 01, 01, 00, 01, 00)
to DateTime (2007, 12, 31, 23, 59, 00) and
{TPM311_VISIT_PAYOR.pyr_seq_no} = 4981 and
{TPB900_CHG_CODE_MST.chg_cod_ext_id} in [ "91000", "91001", "91002", "91003", "91004", "91005", "91006","00002","90435" ,"90285", "00119", "00309", "00325", "00614", "00630", "00648","00135"]
However, what I need is that for each group of records, that it has at least a "9" code and any one of the others..
Thanks in advance...
My current selection looks like this..
{TPB110_PMT_ADJ_DETAIL.pmt_pst_ts}
in DateTime (2007, 01, 01, 00, 01, 00)
to DateTime (2007, 12, 31, 23, 59, 00) and
{TPM311_VISIT_PAYOR.pyr_seq_no} = 4981 and
{TPB900_CHG_CODE_MST.chg_cod_ext_id} in [ "91000", "91001", "91002", "91003", "91004", "91005", "91006","00002","90435" ,"90285", "00119", "00309", "00325", "00614", "00630", "00648","00135"]
However, what I need is that for each group of records, that it has at least a "9" code and any one of the others..
Thanks in advance...