crystal report with vb.net error

  • Thread starter Thread starter Agnes
  • Start date Start date
A

Agnes

Same program , same report. 3 users are ok.
ONLY one user got such error:
Error in File h:\xxxx.rpt:
Invalid parameter value: excees the Min or Max or conflicts with existing
value or edit mask.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
my program will pass 5 parameters and I had correct the report into 5
parameters )
The user still got the same error, (Do I need to make a new deployment)

I don't understand, Does anyone know or meet this before ??

Thanks
From Agnes
 
Has this one user with the error got the same regional settings as the others
? It is possible that the parameter is a date field and not formatted
correctly ?

Regards
Gerry
 
I am not sure the regional setting of that user.
You are correct, I had pass some parameter which is date field .
So, what can I do ??? change the regional setting ?, My client got over 100
users, if every PC got the same error, it seems impossible to re-configure
all the PC. Does anything I can do in my program ? or in my cyrstal report
??
Thanks in advance
 
You might want to force the format of the date value before passing it into
the parameter. That way it will go in the same generic way no matter which
PC/region is using it...

Gerry
 
Thanks a lot. But How to force the format.??
..AddParameter("_cutoffdate",date) = myDate.tostring("yyyy-MM-dd") ???
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top