Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot update read only cursor
Message
De
07/03/2019 19:40:21
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01667097
Message ID:
01667099
Vues:
60
>Hi,
>
>The following code works when I run it from the VFP 9 IDE. But when I compile the program and run it from the .EXE I get error "Cannot update the cursor 3733373 since it is read-only"
>
>What am I missing?
>
>
>lTempAlias = sys(2015)
>STRTOFILE(FILETOSTR("ReportName.FRX"), FORCEPATH("ReportName.FRX", getEnv("temp")))
>STRTOFILE(FILETOSTR("ReportName.FRT"), FORCEPATH("ReportName.FRT", getEnv("temp")))
>USE (FORCEPATH("ReportName.FRX", getEnv("temp"))) ALIAS (lcTempAlias) IN 0
>REPLACE Expr WITH m.lcExpression IN (lcTempAlias)
>
>
>
>TIA

* I assume the first line is a typo "lTempAlias" should be "lcTempAlias"
* Make sure that the table name being returned by GETENV() doesn't match a table included in the project (i.e. the path doesn't matter in this case).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform