I have a listbox where I show the data.
I close the database and then I send the dbf-file back to the server.
In case that something goes wrong the user should return to the previous status.
select rechnung
use
oLbxRG:lCloseArea() // if I use lCloseArea the msginfo is ok otherwise I get an error
But then I find no way how to "oLbxRG:lOpenArea()" - how to rebind the oLbxRg again
lret := MEMOWRIT2(cSrc, cDSt )
lret := .f. //procl for testing a network error
if lret = .f.
Msginfo1 ( "N e t z w e r k f e h l e r" )
USE ( CurDir() + "\RECHNUNG" ) VIA "DBFCDX" NEW ALIAS RECHNUNG
oLbxRG:cAlias := "RECHNUNG"
endif
Best regards,
Otto