Refreshing A Browser/Query Display After Delete

rf08

New Member
How does one refresh a query/browser display after deleting one of the pre-selected records in the displayed list. When the browser displays the query data (one line per record) and the user presses return on one of the lines another program is called receiving the passed recid and in this called program the user CAN delete the record. All is well, except that upon return to the query/browser display the line representing the deleted record is still in view. How can we refresh this automatically?
 

Chris Kelleher

Administrator
Staff member
Try to following code:
<BLOCKQUOTE><font size="1" face="Arial, Verdana">code:</font><HR><pre>
on value-changed of browse-1
do:
get current <query name>. /* may be needed, try 1st without this */
browse-1:refresh().
end.
[/code]

HTH.

-Chris
 
Top