Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generating param from .xls with > 1000 rows

Status
Not open for further replies.

huytonscouser

Programmer
Oct 14, 2011
88
US
I have .xls input file, 1 column, ~3500 rows, that changes daily.

Serial-dev name
"192603520-3666",
"192603520-3668",
"192603520-3669",
"192603520-366A",
"192603520-366B",
"192603520-366C",
.
.
.



Currently i break up the column into batches of 1000, and prepare a formula like:-


If {SRMARRAY.ARRAYALIAS}+"-" +{SRMARRAYDEVICE.ARRAYDEVICENAME}
=["192603520-3666",
"192603520-3668",
///1st 1000 rows

]
THEN "Yes"

ELSE IF {SRMARRAY.ARRAYALIAS}+"-" +{SRMARRAYDEVICE.ARRAYDEVICENAME}
=["192603520-4021",
"192603520-4023"
// next 1000 rows
]
THEN "Yes"

ELSE IF {SRMARRAY.ARRAYALIAS}+"-" +{SRMARRAYDEVICE.ARRAYDEVICENAME}
=["192603520-9821",
"192603520-9822",
/// next 1000 rows
]

THEN "Yes"

ELSE "No"


Is there a way to build a param directly from .xls that contains all 3500 rows ? or am i limited
to array size of 1000.
My goal would be to prepare the input param? , and then link it to a sub-report.

underlying db is Oracle 10g.
 
would it be feasible to split your data in excel
Excel Column2 Excel column3
192603520 3666
192603520 3668
192603520 3669
192603520 366A
192603520 366B
192603520 366C
use that as a table and link (left outer join) to your oracle table?



_____________________________________
Crystal Reports 2011 and XI
Intersystems Cache 2012 ODBC connection

 
Yes, i've tried that but its so incredibly slow, thats why i tried to create a formula.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top