Check this MSKB article for a possible workaround to the problem:
PRB: "Compiled Code for This Line Too Long" Error Message>Is this an oddball error for VFP 5.0a, or is it something I can fix?
>
>Many times I get the "Compiled code for this line is too long (Error 1252)" error when trying to run a query or a program with a SQL SELECT statement in it. The SQL statements are NOT very long (no more than 6 or 7 lines of code). FWIW: I can run code I ran under FPW and get this error when I never did under FPW. Weird...
>
>What's going on?
>
>TIA:
>- Gerry
kenweber
GCom2 Solutions
Microsoft Certified Professional