[gnome-db] problem: row highlighting on insert / modify



Hello,

I do not want to use any of the database specific widgets at the
present time cause
I need to be able to use them under windows and need some flexibility.

I would like to know, consider the action of pressing a button to
insert a row into
an SQL database. Once the row is inserted successfully I want to be able to
highlight it in the table widget that shows it. I could try to match the primary
key. The problem is that, in converting back and forth from C data types to
SQL types, some formatting changes etc... may have taken place so this
method is not that suitable. What I need then, is a pointer to the GdaRow
in the GdaDataModel, which, alas, is not returned on INSERT statements
by libgda. How can I tackle the "highlighting inserted row" problem just
described using libgda and plain C data structures in a reliable way?

Thanks,

Neil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]