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.
|
 |
 |
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 |
 |
 |
hugonr
Posts: 17
|
| Posted: 04/26/2005, 8:33 AM |
|
thanks
|
 |
 |
|