Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2720

Re: Speeding up run time

$
0
0

Does "Crystal 11" mean Crystal XI or Crystal 2011?  Please go to Help>>About and give us the exact version number that you're using.

 

What type of database are you connecting to?  What type of connection are you using - e.g., ODBC, OleDB, Native Client, etc.

 

ORACLE useing OLEDB(ADO) and ODBC.

 

How are you connecting to the data - are you just using tables linked together or are you connecting to a stored procedure, or using a command or a universe?  Are you using subreports?  If so, what type of a section is the subreport in?  How many rows of data are you processing?  Also, please paste the contents of the selection formula from the Select Expert into your response.

-Dell

 

Four table linked together with four subreports. The main report tables use an ODBC connection. The subreports 3/4 use OLEDB(ADO) and 1/4 uses ODBC. Subreports are in Report Header x 1, Page Header x 1, Group header x 1, Page Footer x 1.

 

The main report will process <10 rows after the join.

 

Main Report Select Expert:

{JOB.JOB_NO} = {?JobNo} and

{JOBOP.JOBOP_STATUS} < 6

 

Queries are as follows:

SELECT "OEL"."OEH_NO", "OEL"."JOB_NO_PREV", "OEL"."OEL_NO"

FROM "LEGO"."OEL" "OEL"

WHERE "OEL"."OEH_NO"=52342 AND "OEL"."OEL_NO"=2

 

SELECT "REQ"."JOB_NO", "REQ"."JOBOP_ID", "REQ"."ITEM_CODE", "REQ"."REQ_QTY", "REQ"."UNIT_CODE"

FROM "LEGO"."REQ" "REQ"

WHERE "REQ"."JOB_NO"=80836 AND "REQ"."JOBOP_ID"=790196

 

SELECT "OEDL"."OEH_NO", "OEDL"."OEL_NO", "OEDL"."OEDL_QTY_ORD", "OEDL"."OEDL_DEL_TIME", "OEDL"."CUST_CODE_DEL"

FROM "LEGO"."OEDL" "OEDL"

WHERE "OEDL"."OEH_NO"=52342

 

SELECT "RULEIT"."URULE_CODE", "RULEIT"."RULEIT_VAL", "RULEIT"."RULEIT_TEXT", "RULEIT"."ITEM_CODE"

FROM "LEGO"."RULEIT" "RULEIT"

WHERE  "RULEIT"."ITEM_CODE"='MASTERS-10ZAA' AND ("RULEIT"."URULE_CODE"='CustMachin' OR "RULEIT"."URULE_CODE"='PacWebCode' OR "RULEIT"."URULE_CODE"='WebType')

 

SELECT "RULEJ"."JOB_NO", "RULEJ"."URULE_CODE", "RULEJ"."RULEJ_VAL", "RULEJ"."RULEJ_TEXT"

FROM "LEGO"."RULEJ" "RULEJ"

WHERE "RULEJ"."JOB_NO"=80836 AND ("RULEJ"."URULE_CODE"='Bag_fold' OR "RULEJ"."URULE_CODE"='Bag_HolPun' OR "RULEJ"."URULE_CODE"='Bag_ODID' OR "RULEJ"."URULE_CODE"='Bag_Zipper' OR "RULEJ"."URULE_CODE"='BagGussizi' OR "RULEJ"."URULE_CODE"='BagGusSizm' OR "RULEJ"."URULE_CODE"='BagHedSeal' OR "RULEJ"."URULE_CODE"='BagLipsizi' OR "RULEJ"."URULE_CODE"='BagLipSizm' OR "RULEJ"."URULE_CODE"='BagPrnTB' OR "RULEJ"."URULE_CODE"='BagTearNot' OR "RULEJ"."URULE_CODE"='BagWicket1' OR "RULEJ"."URULE_CODE"='BagWicket2' OR "RULEJ"."URULE_CODE"='Box_Size' OR "RULEJ"."URULE_CODE"='eCore_Info' OR "RULEJ"."URULE_CODE"='eGauge' OR "RULEJ"."URULE_CODE"='eRepeat' OR "RULEJ"."URULE_CODE"='FGBagLen' OR "RULEJ"."URULE_CODE"='FGBaglen_i' OR "RULEJ"."URULE_CODE"='FGBagwid_i' OR "RULEJ"."URULE_CODE"='FGBagWidth' OR "RULEJ"."URULE_CODE"='FGFTPerRol' OR "RULEJ"."URULE_CODE"='FGImpRoll' OR "RULEJ"."URULE_CODE"='FGKGRoll' OR "RULEJ"."URULE_CODE"='FGlbRoll' OR "RULEJ"."URULE_CODE"='FGM_PerRol' OR "RULEJ"."URULE_CODE"='FGSQINRoll' OR "RULEJ"."URULE_CODE"='inAcross' OR "RULEJ"."URULE_CODE"='LamCons_1' OR "RULEJ"."URULE_CODE"='LamCons_2' OR "RULEJ"."URULE_CODE"='nAcross' OR "RULEJ"."URULE_CODE"='nBagCart' OR "RULEJ"."URULE_CODE"='nColors' OR "RULEJ"."URULE_CODE"='NofCentCut' OR "RULEJ"."URULE_CODE"='nUp' OR "RULEJ"."URULE_CODE"='Seal_Side0' OR "RULEJ"."URULE_CODE"='Slit_WidtB' OR "RULEJ"."URULE_CODE"='Slit_Width' OR "RULEJ"."URULE_CODE"='SW_varianc' OR "RULEJ"."URULE_CODE"='WgtPerBoxP' OR "RULEJ"."URULE_CODE"='WidCentCut')


Viewing all articles
Browse latest Browse all 2720

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>