Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with USE, Error 111
Message
 
 
To
04/02/2004 21:20:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00874286
Message ID:
00874287
Views:
12
Is this report or report with the same name included in EXE? It'll be read-only in such case.

>Hi all,
>
>I have this code in a method, at development mode it works, but in .EXE it gives a error 111-'Cannot update cursor RPT, since it's read only.
>
>IF USED('rpt')
>   SELECT rpt
> ELSE
>   USE ".\reports\"+ALLTRIM(.txtDocImp.Value)+".frx"  ALIAS rpt IN 10
> SELECT rpt
>ENDIF
>LOCATE FOR Objtype = 1 AND Objcode = 53
>REPLACE Tag WITH "", Tag2 WITH ""
>REPLACE expr WITH STRTRAN(Expr,lcCopiasOld,lcCopiasNew)
>
>
>Thank's
>
>João Batista
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform