Hi,
a customer reported me the following error:
"Error description: Error DBCMD/2001 Workarea not in use: DBGOTO "
at the line "GO SCOST" from the function as follows.
This is a simply function that open the dbf file "cFile" and read the record "scost". I made some tests but this error never appairs.
Is there someone that can give me an idea about the reason of this problem ?
Thanks in advance.
----
function ReadLibroCassa(cFile,scost)
store "" to lb01,lb02,lb03,lb04,lb05,lb06,lb06,lb07,lb08,lb09,lb10,lb11,lb12,lb13,lb14,lb15,lb16
use &cFile alias pippo
go scost
lica1 := pippo->lb01
lica2 := pippo->lb02
lica3 := pippo->lb03
lica4 := pippo->lb04
lica5 := pippo->lb05
lica6 := pippo->lb06
lica7 := pippo->lb07
lica8 := pippo->lb08
lica9 := pippo->lb09
lica10:= pippo->lb10
lica11:= pippo->lb11
lica12:= pippo->lb12
lica13:= pippo->lb13
lica14:= pippo->lb14
lica15:= pippo->lb15
lica16:= pippo->lb16
lica17:= pippo->lb17
lica18:= pippo->lb18
lica19:= pippo->lb19
lica20:= pippo->lb20
lica21:= pippo->lb21
lica22:= pippo->lb22
lica23:= pippo->lb23
close pippo
return