CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Displaying a variable

Print topic Send  topic

Author Message
sysernst

Posts: 1
Posted: 04/12/2006, 7:01 AM

Hi, i'm verly new to this so here is my question.

I want to display a variable somwhere on the page and did the following:

From the Forms tab i placed a label
I didnt change the name, still is label1
In the before show event i placed the following code:

EventCaller.TemplateBlock.Variable("Label1") = "Test"

also tried

Label1.Value = CCDLookUp("Bedrijfsnaam", "Klanten","Klant_Record_id = "& Session("UserID") ,DBConnection1)

Tried some other things but nothing gets displayed on the page

Should i change any setting on the Data tab ?

please Help
View profile  Send private message
Chris_T
Posted: 04/12/2006, 8:50 AM

Here's what I did to get a label to show the word "test" :

Went to Forms tab, placed label, called Label1
Went to Properties, Data (for the label) and in Default value I put "Test" (with the quotes)

I didn't assign it to a database (control source)

It showed up on the page for me.
Ernst
Posted: 04/12/2006, 12:50 PM

Thanks for the reply,

Did exactly that, but nothing shows
peterr


Posts: 5971
Posted: 04/12/2006, 2:03 PM

This looks very strange, maybe the page is corrupted. Maybe try deleting your PageName.asp, then switch back to Design/Live to regenerate it.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Ernst
Posted: 04/13/2006, 1:56 AM

Thank Peterr

did just that and got it to work

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.