Page 1 of 1

DCBROWSE :refreshAll()

Posted: Sun Mar 27, 2022 10:54 am
by unixkd
Hi All

In SQLExpress++ when I change a record in form, I need to execute oBrowse:refreshAll() for the changes to reflect in the Browse. But in doing that, the cursor move to the top of the browse. I want the record pointer to remain in the position prior to the update of the changes. I executed oBrowse:refreshCurrent() but not working.

Thanks

Joe
SQLExpressBrowse.png
SQLExpressBrowse.png (561.06 KiB) Viewed 2687 times

Re: DCBROWSE :refreshAll()

Posted: Sun Mar 27, 2022 11:16 am
by rdonnay
I haven't used SqlExpress in years, but I recall that it doesn't support record number to go to, so I don't know what RefreshCurrent() will do. Look at \exp20\source\dclipx\_dcxbrow.prg. Otherwise, you would need to look at the SqlExpress docs and see if there is anything about refreshing a browse.