Solved

an invalid argument was encountered

Posted on 2006-06-22
5
5,889 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…

733 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