cancel
Showing results for 
Search instead for 
Did you mean: 

Display Date

Former Member
0 Kudos

I need to display 2 dates(start & end date) in report 1.

When the user submits it report 2 should display the selected start date and end date.

Report 1 has....

@Wecalendar = WECalendarRange("SelectDate",Date(2001,01,01),Date(2007,01,01),"","",true);

@WEsubmitlink = stringvar a:= WETargetPath ("rpt", "CUID", "okcfjh8AArkqYEMAXg6D5nGBegQ", "");

stringvar b := WEFont ("",10, "darkred", "Center", True, False,"","");

WESubmitLink("Go", a, b)

@webuilder = whileprintingrecords;stringvar allelementsmulti;

allelementsmulti := {@Wecalendar}+ {@submitlink};

WEBuilder(allelementsmulti,3)

report2 has a date parameter called SelectDate.

It throws a syntax error when I try to run report 1.(syntax error,line 178)

Accepted Solutions (1)

Accepted Solutions (1)

JWiseman
Active Contributor
0 Kudos

this works aok for me.

what internet browser are you using? you will get issues in any browser that isn't internet explorer so it's the only one that is supported for the function suite.

what is the target? a crystal report or a webi document?

Former Member
0 Kudos

We are using IE6.0..so I believe it should be OK.

One point to be noted is....

We are using WECalendarRange from version 2.2.

But Webuilder function is from 2.0.

Do you thing this is possible reason.. is there a version incompatibility?

JWiseman
Active Contributor
0 Kudos

hello...good you mentioned the 2.2 & 2.0 versions...yes...this definitely will affect the way the functions play with each other.

i would recommend backing up this report, then applying the 2.3 function set from the webelements download page and trying this out. i tested your code out on IE 6x with the 2.3 function set and had no issues.

if my memory serves me correctly, the webuilder 2.0 did not have a range calendar function in it, so it would instantly throw out an error upon submit.

jw

Former Member
0 Kudos

Thank you Jamie, for replying back so quickly.

ok, when our server administrator installed 2.2 not all web elements came in.Ex//"web builder" , the most important of all was missing.

that's the reason I was compelled use webuilder from 2.0.

Do you see what can be wrong here?

JWiseman
Active Contributor
0 Kudos

hello,

.Ex//"web builder" is not part of the webelements package...must be something that your administrator built???

use the instructions in your webElements User Guide to install the 2.3 suite from the webElements230.rpt to your repository & then add the complete suite to your report that contains the calendar...talk to your administrator about this as they should not be mixing the builds up due to the inevitable errors that will ensue.

cheers,

jw

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear all,

I had a problem in starting with web element 3.2 that supportive for crystal XI R2 , i can 't previw the value

of the field when i use combo box or calednder or any custom function

Appreciate any help, thanks!