How can I improve the speed of creation of an xbrowse when loading data from a table with many records using tdolphin,
Probe using oBrw :: oMysql: lPagination = .T. And does not improve the speed to create xbrowse.
The code is as follows :
- Code: Select all Expand view RUN
REDEFINE XBROWSE oBrw OF oDlg ID 100;
DATASOURCE oQry;
LINES FOOTERS AUTOSORT
ADD TO oBrw DATA oQry:fecha TITLE "Fecha" SIZE 100
ADD TO oBrw DATA oQry:fecha_factura TITLE "Fecha_Factura" SIZE 100
ADD TO oBrw DATA oQry:rif_provedor TITLE "Rif" SIZE 100
ADD TO oBrw DATA oQry:nombre_provedor TITLE "Provedor" SIZE 300
ADD TO oBrw DATA oQry:numero_factura TITLE "Factura" SIZE 120 FOOTER "Totales"
ADD TO oBrw DATA oQry:tipo TITLE "Tipo" SIZE 080 LEFT
ADD TO oBrw DATA oQry:montobase TITLE "Base" SIZE 120 PICTURE "@E 999,999,999,999.99" TOTAL nTotBas RIGHT
ADD TO oBrw DATA oQry:montoexento TITLE "Exento" SIZE 120 PICTURE "@E 999,999,999,999.99" TOTAL nTotExe RIGHT
ADD TO oBrw DATA oQry:montoiva TITLE "Iva" SIZE 120 PICTURE "@E 999,999,999,999.99" TOTAL nTotIva RIGHT
ADD TO oBrw DATA oQry:montototal TITLE "Total" SIZE 120 PICTURE "@E 999,999,999,999.99" TOTAL nTotTot RIGHT
ADD TO oBrw DATA oQry:montoretenido TITLE "Retencion" SIZE 120 PICTURE "@E 999,999,999,999.99" TOTAL nTotRet RIGHT
ADD TO oBrw DATA oQry:periodo TITLE "Periodo" SIZE 100