SetCurrentValue - Crystal Report Designer Component 
Author Message
 SetCurrentValue - Crystal Report Designer Component

I want to set a date with SetCurrentValue.

e.g.

dim d as date

date = "01/01/98"

.SetCurrentValue date, 10

or

.SetCurrentValue "98/01/01",10

But I allways get an error 5.

How can I set the current value of an date parameter??

Martin Amm



Wed, 18 Apr 2001 03:00:00 GMT  
 SetCurrentValue - Crystal Report Designer Component
I am having the same problem.  I have figured out a way to set the parameter
in my SQL statement with a global variable in the application, which is set
by user interaction.  But I can't get the darn SCR parameter to work.  The
only time it works is if I allow it to prompt the user with the little
prompt box.  This I find to be totally distracting and inadequate.  Let me
know if you turn up anything on this one.
Quote:

>I want to set a date with SetCurrentValue.

>e.g.

>dim d as date

>date = "01/01/98"

>.SetCurrentValue date, 10

>or

>.SetCurrentValue "98/01/01",10

>But I allways get an error 5.

>How can I set the current value of an date parameter??

>Martin Amm




Wed, 25 Apr 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Crystal Reports 6 Report Designer Component

2. Crystal Reports Report Designer Component

3. Crystal Report Designer Component (Previewing a report.)

4. Crystal Reports "Report Designer Component"

5. Crystal Report Designer Component (Previewing a report.)

6. crystal Report designer component question?

7. No Crystal reports in Component Designer

8. Seagate Crystal Report Designer Component

9. Crystal Reports Designer Component

10. VB 6 / Crystal Report Designer Component (7.0)

11. Has someone used the Crystal Report Designer Component?

12. Crystal Report Designer component - How do I add a button

 

 
Powered by phpBB® Forum Software