Solved

an invalid argument was encountered

Posted on 2006-06-22
5
5,509 Views
Last Modified: 2008-01-09
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
Comment
Question by:fundsf
5 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 16965088
What type is ProductId?

Try using & instead of +

mlmcc
0
 
LVL 10

Expert Comment

by:Spykair
ID: 16967499
Instead of using a formula field, drag a text field onto your rpt. Drag {Product.Name} and {Product.ProductId} into it.

Spykair
0
 

Author Comment

by:fundsf
ID: 16970328
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
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 17021898
Closed, 125 points refunded.
GhostMod
Community Support Moderator
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now