Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating a report as a table at runtime.
Message
 
 
To
18/06/2008 16:14:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01325241
Message ID:
01325243
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform