... moment, there are over 16,000 lines of code in a single sequence. For instance, I think the methods should be placed in separate classes: METHOD SetDolphin( oMysql, lAddCols, lAutoOrder, aFldNames ) METHOD SetMySql( oMysql, lAddCols, lAutoOrder, aFldNames ) // TMySql object METHOD SetColFromMySQL( ...
... moment, there are over 16,000 lines of code in a single sequence. For instance, I think the methods should be placed in separate classes: METHOD SetDolphin( oMysql, lAddCols, lAutoOrder, aFldNames ) METHOD SetMySql( oMysql, lAddCols, lAutoOrder, aFldNames ) // TMySql object METHOD SetColFromMySQL( ...
... OF oWChld y al presionar el boton refrescar Pantalla: STATIC FUNCTION RefrescarPantalla(oLbx) *---------------------------------- SetDolphin( oLbx, cViaje,.f. ) cViaje:Refresh() oLbx:Refresh(.t.) oLbx:SetFocus() RETURN .T. SALE ERROR: Time from start: 0 hours 0 mins 11 secs Error ...
... to clear the previous query to get only the columns for the new query. s_oResult := M->oServer:Query( cNotes ) s_oData := s_oResult s_oBrowse:SetDolphin(s_oData, .t.) s_oBrowse:GoTop() s_oBrowse:Refresh()