addRow error when further editing is done
mrafn_at_lakenet.com
Date: 08/13/04
- Previous message: Nikita Tovstoles: "postgreSQL v. MySQL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 13 Aug 2004 11:57:56 -0700
Hi All,
Quick question (hopefully an easy answer).
Using JBuilderX--a GUI with a JTable component, I click a button
calling a method that adds a new row to a TableDataSet table in the
Database. This code in a datamodule class method:
openIMTable();
DataRow item = new DataRow(imTable);
item.setString("COLUMN1", "SOME TEXT");
imTable.addRow(item);
Returning to the GUI, the row is visually added, everything is fine.
The new row is highlighted in the JdbTable component. I click on an
empty column field in the new row and type some info--press Enter and
get the following error message: "Unable to set value because could
not post or leave row 0". If I select a different row with the mouse
and then reselect the "new" row I can add other fields with no
problem.
What am I missing?
TIA
Mark
- Previous message: Nikita Tovstoles: "postgreSQL v. MySQL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]