Re: How to create a insert button?

Posted by Georges Duchat on May 09, 2007

In Reply to How to create a insert button? posted by reabo on May 02, 2007

: How do i create a insert button for a TDBCtrlGrid?

I guess that you want to write an event-handler for a button that inserts a data row into a TDBCtrlGrid.

Well, a TDBCtrlGrid only *displays* data from a data source. You can't "insert" data rows (records) with this component, you should instead add data to the underlying database "table". How that is done, depends from the type of table you're using: is it a "desktop" table such as Paradox, dBase, Access,...? Or is it a table located on a server (InterBase, or such)?

Related articles


Follow Ups