Refresh ADM2 Browse

begin_etienne

New Member
Hi all,

I've just started working with ADM2, and since I'm knew I've designed the simpliest screen to begin.

The SDB is browsing a qad table, bcd_det, to query the batch processing requests, I have two buttons, close and Refresh. I'm not having any problems bringing up the dialog, the browse is filled up and now I just have to program the refresh button.

When the user press the button, how can I refresh the browse from bcd_det ? I've tried the refresh() method, it does not work because it's refreshing from the rowObject table.

Thanks,
Etienne Begin.
 
Hello,

It's quite simple to refresh the browser : Just do

DYNAMIC-FUNCTION('openQuery':U IN h_dappserverinfo).

where h_dappserverinfo is the handle of your SDO connected to the SDB. That way the query is refreshed...

Good luck
 
Top