Simply speaking,
You can change the cell contents on the Grid by modify the contents of
the Database. Edits on the Grid itself is intended for user input.
Programmatic changes should be made to the underlying database. You can
call a refresh of the dbgrid if neccessary after the update.
You can however control the contents of specific columns as rows are
loaded from the database.
(See Help File)
RowLoaded Event
See Also Applies To
Occurs when the DBGrid control has loaded a row from the database.
Syntax
Private Sub object_RowLoaded ([ index As Integer,] bookmark As String)
The RowLoaded event syntax has these parts:
Part Description
object An object expression that evaluates to an object in the Applies
To list.
index An integer that identifies a control if it is in a control array.
bookmark A string expression containing a bookmark for the loaded row.
Remarks
Enables your code to fill in default values for unbound fields or
perform other operations after
the record is loaded.
Hope this helps
Jim
Quote:
> How can I put data to a cell in a Apex DBGrid?
> (in the usuall grid there is the property grid.text=....
> but there isn't the same in DBGrid)
> Thanks in advance
> Zvi