Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debugging a CSP error message

Status
Not open for further replies.

mdwyer

Programmer
Oct 9, 2003
389
US
This is occurring in CE10, customizing rptschedule.csp to use an Oracle date format (MM-DD-YYYY) instead of the odd Date(YYYY,MM,DD) format our users will never accept.

This does work in CE9 very nicely, but I'm not getting the custom code migrated successfully. When the paramter ADD button is clicked, the Crystal code executes document.sform.submit, with rptschedule.csp the target page (self-reloading, in other words). With my full customization I get the error message, "There was an error saving data to the server: One or more arguments are invalid."

I still get this message with the customization limited to the simplest change possible. I have managed to output for comparison the full array of document.sform.elements.value and name pairs and find no difference between the array that breaks and the array that works. I have also demonstrated that the error occurs after the submit and before the next iteration of the page loads.

It would seem that this is a problem at the server, but how can I determine which argument is invalid?

 
Hi,
What code are you using to 'convert' Crystal?
As an aside, why not use a Calendar to schedule the report so the user just has to pick the date - no format involved.
[profile]
 
The conversion is being done with javascript in rptschedule.js (#included in rptschedule.csp). The calendar is there but mouse alternatives are sometimes preferred. You also can't paste text into a calendar.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top