Home » Developer & Programmer » Reports & Discoverer » change value in run time
change value in run time [message #458975] Wed, 02 June 2010 15:11 Go to next message
mmsalman87
Messages: 41
Registered: September 2009
Location: kuwait
Member
how i can change the value of text in the run time ??
Re: change value in run time [message #458986 is a reply to message #458975] Wed, 02 June 2010 17:09 Go to previous messageGo to next message
Littlefoot
Messages: 21562
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
It would help if you could explain the scenario (i.e what you'd want to do, when, what is exactly "the value of text").
Re: change value in run time [message #459093 is a reply to message #458975] Thu, 03 June 2010 06:09 Go to previous messageGo to next message
mmsalman87
Messages: 41
Registered: September 2009
Location: kuwait
Member
i want to make procedure or function
to translate report into many languages
example : English - Arabic
Re: change value in run time [message #459140 is a reply to message #459093] Thu, 03 June 2010 09:37 Go to previous messageGo to next message
Littlefoot
Messages: 21562
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I see. Perhaps you could create a user parameter and, depending on value user enters, display text in a desired language.
Re: change value in run time [message #459184 is a reply to message #459140] Thu, 03 June 2010 13:44 Go to previous messageGo to next message
mmsalman87
Messages: 41
Registered: September 2009
Location: kuwait
Member
i know , but how ?? what is the code ?
in form i use set_item_property
but in report i don't know
Re: change value in run time [message #459186 is a reply to message #459184] Thu, 03 June 2010 14:08 Go to previous messageGo to next message
Littlefoot
Messages: 21562
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I'm not sure that functions are the right way to produce multi-lingual reports. I don't have any experience with it so - can't help much.

However, if only parts of a report should have different "values", then you could create functions that return certain values. Create fields (in Data Layout editor), each of them should be based on those functions (one field - one function). You'd "draw" those fields one above the other. You'd also create a format trigger for every field which would return TRUE or FALSE, depending on an input parameter's value (that will cause field to be displayed or not).

That's, more or less, all I can say.
Re: change value in run time [message #459193 is a reply to message #458975] Thu, 03 June 2010 15:25 Go to previous message
mmsalman87
Messages: 41
Registered: September 2009
Location: kuwait
Member
thank you very much
Previous Topic: How to Run a version 10g Report in Report Builder 6i version
Next Topic: Output is blank
Goto Forum:
  


Current Time: Mon Jun 01 21:44:21 CDT 2020