Solved

an invalid argument was encountered

Posted on 2006-06-22
5
5,619 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

920 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

15 Experts available now in Live!

Get 1:1 Help Now