Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sfreports
Message
 
To
05/11/2002 18:52:57
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Miscellaneous
Thread ID:
00719058
Message ID:
00721324
Views:
16
Thanks for answering back. Do I need to recompile the class sfreports.vcx(sfrwizard) after I make the fix? If so how do I go about compiling the class? My problem is that when I run the wizard form, the help button doesn't showup anymore and I think it is because I modified the code sfrwizard.getfile.

Thanks
Nick Patel

>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