Update Database

chefsride

Member
I am still fairly new to Progress so please go easy on me becuase I know my question is going to sound stupid. I have a list of names that I have put into a combo box. I have created a browse by using define browse to display the records from a table for a selected name from the combo box. From the list of fields that I have in the browse only one is enabled and I want to be able to update the database from that browse. The browse object is using a temp-table to fill it. First real question is how would I go about trying to reference the enabled browse column so I can check to see if it has been updated. How would I go about updating that field in the database if the browse column has changed? If anyone can help it would be greatly appreciated.
 
Hi,

1- Did you try the CURRENT-ROW-MODIFIED or modified attribute?
2- To update that field, find the changed field and write it from the temp-table to the database.
It would be more easy if you used the table instead of a temp-table. Then it's easier to find out if someone else has changed the table since the temp-table was filled.....

In OE10 you can use the before table reference to see which fields have changed.

HTH,

Casper.
 
Back
Top