Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7108
  • Last Modified:

an invalid argument was encountered

I created a report in Crystal XI, and whenever I save it, I get an error saying "an invalid argument was encountered". As is often the case with Crystal error messages, I could not find this error message when searching Help or the Business Objects web site. But this time even Google could not find the message. Does anyone know what it means and what could cause it?

The report only has a single simple formula: formula = {Product.Name} + CStr({Product.ProductId})
It only has one group, which uses the above formula. I was getting this error before putting any data on the report. No subreports, record selection formulas, or parameters yet.

Thanks for any advice.
0
fundsf
Asked:
fundsf
1 Solution
 
mlmccCommented:
What type is ProductId?

Try using & instead of +

mlmcc
0
 
SpykairCommented:
Instead of using a formula field, drag a text field onto your rpt. Drag {Product.Name} and {Product.ProductId} into it.

Spykair
0
 
fundsfAuthor Commented:
I added another table to the report, not to fix the problem, but because I needed it, and then the error message stopped occurring. I still don't know the cause, but it seems to be related to the tables selected via the Database Expert. Another important fact I left out is that I'm using an XSD file and the connection type is "ADO.NET (XML)".

0
 
GhostModCommented:
Closed, 125 points refunded.
GhostMod
Community Support Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now