P
P Dietz
Hello,
I'm using a datagrid to show data (ok, what else...), and
by doubleclick on a row I first hide the Datagrid-Form
and start another form to work with the data.
After returníng to the Datagrid-Form and reload the data I
would like to jump to the same row as i was before.
To get the actual row before leave the form, I use
aktID = dvProt(Me.dgProt.CurrentRowIndex)!naqs_ID.toString
Sort = dvProt.Sort
where dgprot is the datagrid and dvprot the dataview of
the dataset.table("prot")
then
me.hide
frmEditData.showdialog
LoadDataNew() 'to load the data again from the database
and now?
to set the same sort-sequence as before,
dvprot.sort=sort is good,
but how can i find the row?
dvprot.find searches the sort-column, but sort-column and
ID must not be the same:-(
Thanks for help!
Peter
I'm using a datagrid to show data (ok, what else...), and
by doubleclick on a row I first hide the Datagrid-Form
and start another form to work with the data.
After returníng to the Datagrid-Form and reload the data I
would like to jump to the same row as i was before.
To get the actual row before leave the form, I use
aktID = dvProt(Me.dgProt.CurrentRowIndex)!naqs_ID.toString
Sort = dvProt.Sort
where dgprot is the datagrid and dvprot the dataview of
the dataset.table("prot")
then
me.hide
frmEditData.showdialog
LoadDataNew() 'to load the data again from the database
and now?
to set the same sort-sequence as before,
dvprot.sort=sort is good,
but how can i find the row?
dvprot.find searches the sort-column, but sort-column and
ID must not be the same:-(
Thanks for help!
Peter