Skip to Content
author's profile photo Former Member
Former Member

Formula workaround for 1000 parameter limit?

Hi All

Currently the majority of my reports consists of parameters that contain 1000 and more values, and as we all know Crystal has a limit of 1000

I currently use an array made in my stored procedure, for this purpose.

Will it be possible to have my formula, which is used for the array, amended to have it split in multiple segments of 1000 each?

If the array is split in multiple 1000 segments, surely it should be possible to select more than 1000 parameter values to filter a report on.

Currently the error I'm getting when more than 1000 values are selected for my parameter is:

"an array's dimension must be an integer between 1 and 1000"

This is the formula I'm currently using which is linked to my parameter:

dim i as number

dim aEmpList() as string

for i = 1 to Ubound({?EMPLOYER})

Redim Preserve aEmpList(i)

aEmpList(i) = {?EMPLOYER}(i)

next i

Formula = Join(aEmpList,",")

Any help much appreciated, thank you!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 13, 2016 at 12:51 PM

    Hi Charl,

    Instead of using an array, have you simply tried:



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.