Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with USE, Error 111
Message
 
 
À
04/02/2004 21:20:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00874286
Message ID:
00874287
Vues:
13
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform