Hi All,
I have a problem with changing the tag of a table in a db
The code is:
open Database plumber
use plumber!belege exclusive
set safety off
if !(tag(9)== 'belegid' and key(9) == 'val(alltrim(beleg_id))')
delete tag 'belegid'
Index on val(alltrim(beleg_id)) tag belegid
endif
If I call it from vfp via main.prg it works, but if I compile it and make a exe and call the exe it don’t works. The error is some like “ can’t update the cursor “
I open the belege exclusive what else must I do?
Tia
Ron
I have a problem with changing the tag of a table in a db
The code is:
open Database plumber
use plumber!belege exclusive
set safety off
if !(tag(9)== 'belegid' and key(9) == 'val(alltrim(beleg_id))')
delete tag 'belegid'
Index on val(alltrim(beleg_id)) tag belegid
endif
If I call it from vfp via main.prg it works, but if I compile it and make a exe and call the exe it don’t works. The error is some like “ can’t update the cursor “
I open the belege exclusive what else must I do?
Tia
Ron