Perhaps one with experience in MySql want to tell me that I have wrong with this code:
oCatalogo:= oServer:Query( "SELECT * FROM catalogo ORDER BY codicont" )
DEFINE DIALOG oDlg RESOURCE "CATALOGO" TITLE "Mantenimiento Catalogo"
oBrw := TXBrowse():New( oDlg )
oBrw:SetMySql(oCatalogo,.f.)
...
...
If I do this...
- Code: Select all Expand view
- if oCatalogo:Locate("Codicont",cCodigo,,)
MsgInfo("Encontrado")
oCatalogo:Refresh()
oBrw:Refresh() // It's found out and refresh the oBrw, but we know it is very slow
endif
...but if I do this, it's found, but the oBrw is not refreshed...!!!
- Code: Select all Expand view
- if oCatalogo:Seek(cCodigo,"codicont")
MsgInfo("Encontrado")
oCatalogo:Refresh()
oBrw:Refresh()
endif
My version is FWH 10.06
Regards.
Francisco J. Alegría P.
Chinandega, Nicaragua.