Please don't get mad at me, but should make yourself familiar with the concept of record buffers, be they for database tables or temp-tables. It's a good thing to know what you're really doing when you reference a record buffer, how and when the records get read into it, how and when updates are saved away to the database or the temp-table and where you're transaction scope is in between all of this.
In other words you should make yourself familiar with buffers, buffer and transaction scope in order to write "good" software against a Progress database with the Progress 4GL.
All of this information can be found in the documentation that comes with the product.
Heavy Regards, RealHeavyDude.