How do I bring the newly created row into the view? After hQuery:REPOSTITION-TO-ROWD (...) it is off the screen. Progress' Browse widget does this automatically I don't know why is it such a problem with UltraGrid.
You are executing code on a client with temp-tables or DB tables?
For temp-table queries on the client, try to open the query without the INDEXED-REPOSITION option. Then you may query the CURRENT-RESULT-ROW property of the Query. Use that to set the Position attribute of the BindingSource (ensure you keep the offset by -1 as .NET starts counting at zero and Progress counts from 1.
Have you re-opened the query after creating the record? If not, you would need to do that to have it in the query.
HTH
Yes I have.
<query>:QUERY-OPEN ().
<query>:REPOSITION-TO-ROWID (<rowid>).
Query *is* on the correct record, it is just off the screen.
You are executing code on a client with temp-tables or DB tables?
For temp-table queries on the client, try to open the query without the INDEXED-REPOSITION option. Then you may query the CURRENT-RESULT-ROW property of the Query. Use that to set the Position attribute of the BindingSource (ensure you keep the offset by -1 as .NET starts counting at zero and Progress counts from 1.