Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating a report as a table at runtime.
Message
 
 
À
18/06/2008 16:14:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01325241
Message ID:
01325243
Vues:
15
>I've never tried this before, but I was trying to open a report as a table and update the fields expr2, tag2 and tag to get the current default printer's property attributes. I got an error saying that the "table was read-only". Below is the code that i used.
>
>USE C:\temp\doc_c.frx IN 0 EXCLUSIVE ALIAS thomas
>
>BLANK FIELDS expr, tag2, tag
>SYS(1037,2)
>USE
>
>The error occured when the second line was executed. I tried this from my command window within Foxpro and it worked with no problems. It was only at runtime when the error occurs. Hoping that someone has experience this problem and have some solution for it.
>
>Thanks Thomas

1. Don't blank Expr field
2. Put USE before SYS() command. (though what is this SYS for)?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform