Hi all.
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...
...but if I do this, it's found, but the oBrw is not refreshed...!!!
My version is FWH 10.06
Regards.
Francisco J. Alegría P.
Chinandega, Nicaragua.
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...
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...!!!
if oCatalogo:Seek(cCodigo,"codicont")
MsgInfo("Encontrado")
oCatalogo:Refresh()
oBrw:Refresh()
endifMy version is FWH 10.06
Regards.
Francisco J. Alegría P.
Chinandega, Nicaragua.
Francisco J. Alegría P.
Chinandega, Nicaragua.
Fwxh-MySql-TMySql
Chinandega, Nicaragua.
Fwxh-MySql-TMySql