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 -> PHP

 really simple question about text box

Print topic Send  topic

Author Message
hugonr

Posts: 17
Posted: 04/19/2005, 12:40 PM

i have one text box maked with the record builder...
the properties of the text box are:
name: WorkerCod
type : database column
control : WorkerCod <--- the field name in the table
data type: integer
the rest have blank values.

ok, when i try to change the value of this text box from the code, i type this:

$Mainform->WorkerCod->Value = CCGetSession("myvar");

if i text with "echo $Mainform->WorkerCod->Value;" i will get the value i gived to my text box, but that value is not showing in my text box in my screen when im surfing in the page, and is not saving in the table when i submit.... WHY? i think that i made anything wrong, but i cant find it.

really thanks and sorry my bad english.
View profile  Send private message
peterr


Posts: 5971
Posted: 04/19/2005, 5:25 PM

I think that you need to use SetValue and GetValue methods to set or rerieve values.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
hugonr

Posts: 17
Posted: 04/26/2005, 8:33 AM

thanks
View profile  Send private message

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.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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