Hi All,
i have a grid on the form i am adding row al last column of the grid programmaticaly like under method,
* first add a new property to the form named Mycolumn and value 1
*Grid BeforeRowColChangeEvent
LPARAMETERS nColIndex
ThisForm.Mycolumn = ncolindex
* Grid AfterRowColChangeEvent
LPARAMETERS nColIndex
If ! EOF() .And. LastKey() = 13 .And. nColIndex < ThisForm.Mycolumn
Skip
If EOF()
Append Blank
* form settings private datasession,pessimistic,buffer mode
now i have 2 question about it
A-how can do this action (adding row) in any column
B-when i pressed UpArrow (at newly added row,current recno) and not changed any fields at the new row should be delete it
how can i do this ?
(Delphi's DBGRID attitudes like my sample)
TIA