Begginer's Question: Inserting Data in DBGrids

Begginer's Question: Inserting Data in DBGrids

Post by Luciano Passuell » Sun, 31 Dec 1899 09:00:00



My application has a DBNavigator and a DBGrid to view, edit and delete data.
The point is: when I click 'INSERT' in the navigator, a line in the grid
becomes highlighted but I can't type text in it (I think the grid doesn't
have the focus). The same thing occurs when I click 'EDIT'. I already tried
to put in the OnAfterInsert a call to set the focus in the grid (SetFocus),
but it doesn't seem to work, too.

Any help is appreciated.

Luciano Passuello
------------------------------------------
"Entia non sunt multiplicanda praeter necessitatem"
(William of Occam)

 
 
 

Begginer's Question: Inserting Data in DBGrids

Post by nathan lun » Sun, 31 Dec 1899 09:00:00


I have a grid and navigator that work fine together.
Is it based on a query rather than a table? If so, is requestlive false?
if requestlive is false, DataAware controls will be protected unless there
is an update object and cached updates is True.

 
 
 

1. Begginer's Question: Responding to TDataSet events

How can I execute an action in response to a DataSet event (like
AfterScroll) from a form?
I would like to perform an action in one form (like hiding controls,
enabling buttons, etc.) when the dataset scrolls, but I think I can't code
it in the AfterScroll event on the dataset, since I want to respond to it
only in this form.
What I want to achieve is kind of a 'data-awareness' in the triggering of
the action. When the dataset scrolls, my Action is performed. Unhappily my
action is not linked with any data-aware control.

Appreciate any ideas,
Luciano Passuello
------------------------------------------
"Entia non sunt multiplicanda praeter necessitatem"
(William of Occam)

2. Westchester NY: Database designer try/buy

3. Begginer's Question...

4. App working in Debug but not real time

5. Begginer's question: how to combine varchar with int through update...set statement

6. Shared memory errors with IDS 7.31 Workgroup addition

7. oracle8 jdbc begginer's question

8. A1A Informix Jobs Mail List >> Join our mail list

9. Begginer's question regarding processing cube

10. oracle8 jdbc begginer's question

11. Insert Data in SubForms with DBGrid and Data Control

12. RDC with dbgrid and SQL Server - can't insert first row