Re: Sorry, repaired macro added

Andrew Jensen <[email protected]>
Newsgroups gmane.comp.openoffice.dba.user
Message-ID <[email protected]>
Sorry,

To be more precise:

you can read the value with
iVar = vField.BoundField.getInt

and write the value to the table tables column with
vField.BoundField.updateInt( iVar )

The later does not post the value to the database, simply updates the 
rowset of the form.
If you want to post the data then you would updateRow on the form.
vForm.UpdateRow

If you want to get the value from the control on the form,
this will return a variant type.

iVar = vField.CurrentValue

In the case of text control you could also use.

stringVar = vFirld.Text

HTH

Drew

Andrew Jensen wrote:

> 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:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.