>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