PRB: VFP 6.0 Application Framework Class Does Not Compile Under VFP 7.0 (309122)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 7.0
This article was previously published under Q309122 SYMPTOMS
When you attempt to compile the _FRAMEWK.VCX from the Visual FoxPro (VFP) 6.0 application framework in VFP 7.0, you may receive the following error:
Error in line 3729 of _application.validatemetatable (record 103): Syntax error.
This also occurs when rebuilding a project that uses the VFP 6.0 application framework.
CAUSE
The following line is contained in the ValidateMetaTable method:
LOCAL lcTable, lcMessage, lcAlias, liSelect, ;
llReturn, liTagCount laRequired[1], laKeys[1];
liFound, llExactOff
Although the syntax is valid for VFP 6.0, VFP 7.0 does not allow you to omit the commas between the variables.
RESOLUTION
To resolve this problem, follow these steps:
- Determine the location of the copy of _FRAMEWK.VCX that you are using.
- Run the following line, replacing the path as necessary:
MODIFY CLASS _application ;
OF ("c:\Program Files\Microsoft Visual Studio\VFP98\Wizards\_FRAMEWK") ;
METHOD ValidateMetaTable
- Add the missing commas to line 8.
STATUS
This behavior is by design.
REFERENCES
For more information on the LOCAL command, see the "LOCAL Command" entry in the VFP 7.0 Help file.
Modification Type: | Major | Last Reviewed: | 10/17/2001 |
---|
Keywords: | kbCodeSnippet kbDSupport kbOOP kbprb kbwizard KB309122 |
---|
|