Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sfreports
Message
From
05/11/2002 18:52:57
 
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Miscellaneous
Thread ID:
00719058
Message ID:
00719113
Views:
19
The answer as to why you are getting the error in VFP 7.0 is easy, I'm not so sure about the fix though. The syntax was tightened up to make sure there are commas between all variables in a declaration list. So to eliminate the error, put a ',' between local and loDialog. However, I'm not sure if the code is suppose to actually read:
lparameters tcDefaultFileName,  tcTypeList,  tcTitle,  tnFlags,  toCommonDialog
local loDialog,  lnFlags,  lcDirectory,  lcFileName,  lcExtension,  lcTypeList,  lnIndex,  lcType,  lnPos,  lcCurDir
If that's true, then you need to kill a "," and add a CRLF.

Rick

>I have am using stonefield 6c that also has sfreports. When I compile my program I get following error:
>
>
>Compiling c:\programming\stonefield6\sfreports\sfreports.vcx
>lparameters tcDefaultFileName,  tcTypeList,  tcTitle,  tnFlags,  toCommonDialog,  local loDialog,  lnFlags,  lcDirectory,  lcFileName,  lcExtension,  lcTypeList,  lnIndex,  lcType,  lnPos,  lcCurDir
>Error in line 1720 of sfrwizard.getfile (record 190): Syntax error.
>
>
>
>This program was written in vfp6 and compiled using stonefield 5.1j and now I am moving it to vfp7 which is using stonefield 6.0c. I moved the sfreports folder to directory 6.0c folder (stonefield6). The classes that show up under projects class tab is as follows:
>
>

>dbcxmgr
>sdt
>sfactivex
>sfbutton
>sfcollection
>sfctrls
>sffont
>sfmover
>sfquery
>sfregistry
>sfrepobj
>sfreports
>sfutility
>sfwizard
>
>The machine that I am compiling this on has only stonefield 6.0c and vfp7. Any insight to what I am doing wrong here.
>
>Thanks
>Nick Patel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform