INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Crystal Reports 2008 Select Expert Limit

Crystal Reports 2008 Select Expert Limit

(OP)
I am using Crystal Reports 2008. I have been asked to create a report listing part numbers related to a specific project. I have been given a spreadsheet with a list of those part numbers 3,513 part numbers to be exact. I only want the report to display information related to those 3,513 part numbers. I am working in Excel to convert the column of part numbers into a row of part numbers formatted to be used as a "Select Expert" filter ( "XXXXX","XXXX",) ect. . . Assuming I can Concatenate those 3,513 part numbers into a singe cell to be pasted into the Crystal filter, does Crystal 2008 have a limit on the number of items I can put into the filter?? If so, any recommendations on how I can get those specific 3,513 part numbers in one report?

Thanks

RE: Crystal Reports 2008 Select Expert Limit

You can add the Excel file to the report as a table, then link on part number.

If you really wan to put them in the Select Formula, then write a report that reads the Excel file and generates text that you can copy and paste into the Select Formula (NOT the select expert)

RE: Crystal Reports 2008 Select Expert Limit

(OP)
Charliy. Thank you! so much for replying, I didn't know I could add an Excel file as a table in Crystal Reports. That was very helpful!!

I tried your first suggestion adding the report as a table, it displayed the data but report didn't run correctly, it ran for several hours reading several million records, it shouldn't take that long and need to read through that many records. I tried different linking between the tables but it didn't help much.

I am working on your second suggestion, I am attempting to write a report that will generate text to paste into the Selection Formulas menu option. I have been attempting to create an array that will take the column of numbers and put it into a format like:

[123", "456", "789", ect...] so I can use it with the Selection Formulas, I assume that will accept over 1,000 items?

Hopefully I am understanding what you wrote "write a report that reads the Excel file and generates text that you can copy and paste into the Select Formula (NOT the select expert)". Please correct me if I have missed the point.

Thanks again.

RE: Crystal Reports 2008 Select Expert Limit

If you're getting millions of records, then check your links between the files. Are there fields you can use to limit the number of matches?

Yes, that's what I meant. When I do reports like that I usually jus print the detail like: '"'&[table.field}&'",'
then export to a text file, remove the last comma, and copy/paste into the select formula.

RE: Crystal Reports 2008 Select Expert Limit

Unfortunately, when you link between two different data connections, Crystal cannot push the join to the database for processing - it brings all of the data into memory and does the join there. If the table you're trying to filter has millions of rows, all of them will be pulled into memory and then joined to the Excel table in memory. This is why it's taking so long for your data to process.

-Dell

DecisionFirst Technologies - Seven-time SAP BusinessObjects Solution Partner of the Year
www.decisionfirst.com

RE: Crystal Reports 2008 Select Expert Limit

Charliy wrote on Jan 27

You can add the Excel file to the report as a table, then link on part number.

Try by also giving the condition in the Record Selection Formula
[table.field]=[Sheet1.PartNum]
and see if it works.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close