codecharger
Posts: 8
|
| Posted: 09/14/2005, 9:02 AM |
|
hey guys, im new to codecharge. I have created a variable on the code page of the current page i am working on. The variable contains a string. How would i go about displaying that variable from the HTML side? I have tried to put this in the html {variable_name} but it didnt work. Using a response.write from the code side will not produce the results i am looking for.
thanks,
brian
|
 |
 |
Edd
Posts: 547
|
| Posted: 09/15/2005, 6:06 AM |
|
Brian,
Let us recap (I hope this does not sound patronising)
1. In the designer you have created a label on the page.
2. On clicking that label you have added a beforeshow event
3. In the beforeshow event you have written code like:
MyLabel.value = theVariable
Is that correct?
If it is check that the label is the same type as your variable, ie text will not show in a variable that has been defined as date or numeric.
Hope that helps,
Edd
_________________
Accepting and instigating change are life's challenges.
http://www.syntech.com.au |
 |
 |
Walter Kempees
|
| Posted: 09/15/2005, 7:37 PM |
|
use { } in stead of ( )
but it's 4.45 am here so..................
"codecharger" <codecharger@forum.codecharge> schreef in bericht
news:6432849a54f13a@news.codecharge.com...
> hey guys, im new to codecharge. I have created a variable on the code page
> of
> the current page i am working on. The variable contains a string. How
> would i
> go about displaying that variable from the HTML side? I have tried to put
> this
> in the html {variable_name} but it didnt work. Using a response.write from
> the
> code side will not produce the results i am looking for.
>
> thanks,
> brian
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
|