Hoo
Hoo,

You can write the value to the Bound database Field with this

iVar = vField.BoundField.getInt
or
vField.BoundField.updateInt( iVar )

Drew

Heikki Tuhkanen wrote:

Sub d100
Dim vField, vForm as object
vForm = DataBaseForm.getByName("Character")
'Form is open and there is textfield named txtSex which is aiming to tablecolumn 'Sex'
vField = vForm.getByName("txtSex")
Randomize
iVar =  Int((100*Rnd)+1)
' number from 1 to 100
vField.value  = iVar
'I'm trying to add value to field and to table without success:)




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to