I have defined an xBrowse with an empty recordset ( oRsInv .. where Repair number = 0 ) on a sql query due to the huge number of records in the table.
Code: Select all | Expand
REDEFINE xBROWSE oLbxB1 ;
RECORDSET oRsInv ;
COLUMNS "REPAIR NUMBER", ;
"TRANSACTION TYPE", ;
"INVOICED DATE", ;
"TOTAL", ;
"BALANCE" ;
COLSIZES 70,80,80,70,70 ;
HEADERS "Invoice #", ;
"Type", ;
"Date", ;
"Total", ;
"Balance" ;
ID 139 of oCust2 ;
AUTOCOLS LINES CELL
Is there a way to keep the record set object and browse active ( without killing the listbox ) if I want to go back in and close() the current recordset ( oRsInv:CLose() ) and re-issue the same recordset object ( same columns, new query ) with a different Repair Number = 12345 and possibly just refresh the xBrowse Object ( oLbxB1:ReFresh() ) with the new ( same object ) recordset ?
Thanks
Rick Lipkin