Please help with DBGrid 
Author Message
 Please help with DBGrid

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



Mon, 25 Oct 1999 03:00:00 GMT  
 Please help with DBGrid

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



Mon, 25 Oct 1999 03:00:00 GMT  
 Please help with DBGrid



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

I had exactly this question myself yesterday and was getting really
frustrated!

You have to use the following format:

txtTest = <DBGridName>.Columns(1).Text

Tryfon


--
Dexion



Tue, 26 Oct 1999 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Please help on DBGrid!!

2. Please help for Dbgrid

3. Urgent!! Please help with DBGrid problem

4. Please help with DBGRID!

5. Please help with DBGrid

6. Please Help Newbie -- DBGrid Calculations

7. Please help with DBGrid

8. PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP,

9. DBGrid Control: Please, please help....

10. Can anyone HELP me PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE

11. PLEASE HELP PLEASE HELP PLEASE HELP

12. Some Help with DBGrid Please

 

 
Powered by phpBB® Forum Software