masterDicanio
Programmer
Hi
i want to insert row in the middle of table , then i set the dbgrid current record to 3 (for examp) and then , a button click do : adotable1.insert . then a new record insert abow of active record ! i fill it and press another button that does : adotable1.post ! but it sends the new record to the end table records ! and i wanted to place it there not end of table !
and if it is impossible (realy strange) is it possible to exchange two records in a table ?
i use adoconnection - adotable - datasource - dbgrid - ms sql as database !
i want to insert row in the middle of table , then i set the dbgrid current record to 3 (for examp) and then , a button click do : adotable1.insert . then a new record insert abow of active record ! i fill it and press another button that does : adotable1.post ! but it sends the new record to the end table records ! and i wanted to place it there not end of table !
and if it is impossible (realy strange) is it possible to exchange two records in a table ?
i use adoconnection - adotable - datasource - dbgrid - ms sql as database !