Re: Compile error in file *.app in VFP8.0 (error1981)

From: Anders Altberg (x_pragma_at_telia.com)
Date: 06/05/04


Date: Sat, 5 Jun 2004 14:32:52 +0200


 My first step after making backups would be to run the menu Project ->
Clean up Project. Next open any class libraries in the Class Browser and
run Clean up Class Library (rightmost menu button). Open database x
Exclusive, Modify Database, then run Clean Up Databasse from the Database
Designer's Database menu. The project, class libraries and database files
are actuslly DBF tables and Clean up performs a Pack on them.
Reopen the project and try again.
-Anders

"Battur" <anonymous@discussions.microsoft.com> wrote in message
news:631318C7-7806-4A0F-A212-7D5E8F8C5889@microsoft.com...
> Hi collegues, I have a project written in VFP6.0 and it runs fine in
Windows XP. Recently, I have installed VFP8.0 and open my project in it and
tried to compile it. However, I receive compile error in file
(myexefilename).app (error 1981) whenever I try to compile it. The error
description is "You have attempted to add stored procedures to a database
with the FROM clause of the APPEND PROCEDURES command, from a file which
cannot be successfully compiled. Check that the file contains valid code". I
did not add any stored procedures using append procedures command. Could
anyone help me workaround this problem!. Thanks in advance.
>
> T.Battur, MCSD