Search found 7 matches

by kaveh
Mon Aug 05, 2019 2:26 pm
Forum: Stimulsoft Reports.JS
Topic: Expression varaibles are not updated
Replies: 4
Views: 1419

Re: Expression varaibles are not updated

rbravoz , Thanks for your solution, i tried it's working on databands, but unfortunately i couldn't use it for BeforePrintEvent, it seems just variables can be used in events not the datasource fieldnames. for eg. i have to set the left value of an object in BeforePrintEvent according to a field val...
by kaveh
Thu Aug 01, 2019 12:00 pm
Forum: Stimulsoft Reports.JS
Topic: Expression varaibles are not updated
Replies: 4
Views: 1419

Expression varaibles are not updated

Hello, I'm trying JS edition with HTML5 designer. i created a variable (name=value) initialized by expression : jobsampleassayresults.Value then i put a databand connected to datasource : jobsampleassayresults when i try to print {value} on each row of databand it just repeats the first value of dat...
by kaveh
Wed Jul 31, 2019 10:26 am
Forum: Stimulsoft Reports.PHP
Topic: Event in PHP
Replies: 7
Views: 3713

Re: Event in PHP

Hello, in html5 designer (js), i could use Variables in the events like below : (value is predefined variable in dictionary) value="2333"; Text41.text=value; this works but how can i use field names like: value=ds1.pName; even: value={ds1.pName}; didn't work for me. could you please help m...
by kaveh
Thu Jul 25, 2019 7:04 am
Forum: Stimulsoft Reports.PHP
Topic: Event in PHP
Replies: 7
Views: 3713

Re: Event in PHP

Hello, actually i guess it's supported, but in java language. i found the solution. just to share with the others : ///////////////////// var mean=1.11; var min=mean*0.85; var max=mean*1.25; var value=score1; var left=0; if(value>min && value<max) { left=barGray1.left+(value-min)*barGray1.wi...
by kaveh
Tue Jul 23, 2019 9:43 am
Forum: Stimulsoft Reports.JS
Topic: JS Preview problem : Text over image
Replies: 1
Views: 844

JS Preview problem : Text over image

Hello, i am trying to put a Text object over image object (overlapping with transparency). in preview as you see in the screenshot there are some problems in rendering but when i export as pdf it's perfect, is there any solution to fix that. i have already used these codes but no success. var option...
by kaveh
Tue Jul 23, 2019 7:58 am
Forum: Stimulsoft Reports.PHP
Topic: Event in PHP
Replies: 7
Views: 3713

Re: Event in PHP

I really appreciate for your response. you're right, i thought that it's like the .Net designer. anyway, how is the syntax for html5 designer, i use JS for php and calling the designer from code. for example i need some calculation and then move an image. here is my codes: double mean=1.11; double m...
by kaveh
Mon Jul 22, 2019 4:01 pm
Forum: Stimulsoft Reports.PHP
Topic: Event in PHP
Replies: 7
Views: 3713

Event in PHP

Hello,
i need to execute some codes on BeforePrint event.
when i put something like : alert("hello"); it works perfectly
but when i put : Text2.Text="hello"; it doesn't work, no errors, nothing
is there any way to add some lines of codes on BeforePrint of an object.

Thanks