0

我是CR的新手。我有一份其他人创建的报告。当我使用 Database -> 'Show SQL Query' 命令时,WHERE 子句有一堆名称。我怎样才能找出这个名字列表来自哪里?

SELECT "billing_tx_charge_detail_2004"."date_of_service", "billing_tx_charge_detail_2004"."v_SERVICE_CODE",     "billing_tx_charge_detail_2004"."v_PROVIDER_NAME",     "billing_tx_charge_detail_2004"."service_status_value", "billing_tx_charge_detail_2004"."v_client_name", "billing_tx_charge_detail_2004"."guarantor_liability", "billing_tx_charge_detail_2004"."CLAIM_NUMBER", "billing_tx_charge_detail_2004"."GUARANTOR_ID", "billing_tx_charge_detail_2004"."v_service_value", "billing_tx_charge_detail_2004"."PATID", "cw_patient_notes"."service_duration", "cw_patient_notes"."note_type_value"FROM   "SYSTEM"."billing_tx_charge_detail_2004" "billing_tx_charge_detail_2004" LEFT OUTER JOIN "CWSAVPMLIVESYSTEM"."cw_patient_notes" "cw_patient_notes" ON ((("billing_tx_charge_detail_2004"."FACILITY"="cw_patient_notes"."FACILITY") AND ("billing_tx_charge_detail_2004"."PATID"="cw_patient_notes"."PATID")) AND ("billing_tx_charge_detail_2004"."EPISODE_NUMBER"="cw_patient_notes"."EPISODE_NUMBER")) AND ("billing_tx_charge_detail_2004"."JOIN_TO_TX_HISTORY"="cw_patient_notes"."JOIN_TO_TX_HISTORY")
WHERE  ("billing_tx_charge_detail_2004"."date_of_service">={d '2009-07-01'} 
AND "billing_tx_charge_detail_2004"."date_of_service"<={d '2009-07-31'}) AND 
("billing_tx_charge_detail_2004"."v_PROVIDER_NAME"='BARNHART,SCOTT' OR
 "billing_tx_charge_detail_2004"."v_PROVIDER_NAME"='BINKER,BARB  MSW LISW' OR 
"billing_tx_charge_detail_2004"."v_PROVIDER_NAME"='BRETNAN,BAUNEEN' OR 
"billing_tx_charge_detail_2004"."v_PROVIDER_NAME"='CROWN,DWAYNE  BS  NCAC-I  LADAC' 
OR "billing_tx_charge_detail_2004"."v_PROVIDER_NAME"='COFFEE,RAMBA  BA  LADAC' OR
"billing_tx_charge_detail_2004"."v_PROVIDER_NAME"='DECODE,TENISE  MC LMFT LADAC' OR 
"billing_tx_charge_detail_2004"."v_PROVIDER_NAME"='GONSALEZ,MAREN' OR
"billing_tx_charge_detail_2004"."v_PROVIDER_NAME"='HITAN,TOM' OR 
"billing_tx_charge_detail_2004"."v_PROVIDER_NAME"='KOTUE,SHEENA')
 ORDER BY "billing_tx_charge_detail_2004"."v_SERVICE_CODE",
 "billing_tx_charge_detail_2004"."date_of_service", "billing_tx_charge_detail_2004"."PATID"
4

2 回答 2

0

它位于报告 -> 选择专家命令中!万岁!

我一发布问题就知道我会找到答案:)

于 2012-10-30T20:12:17.017 回答
0

你有一些选择。它是:

  • 在记录选择公式中(报表 > 编辑选择公式 > 记录)
  • 在“显示 SQL 查询”窗口中硬编码(虽然不太可能)
  • 在与报告一起保存的参数中,或包含默认值(更不可能)
于 2012-10-30T20:14:08.233 回答