Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with SF Reports
Message
From
21/09/2000 08:22:34
 
 
To
19/09/2000 20:52:58
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00418334
Message ID:
00418918
Views:
25
Hi Sandi,

I have used VFX and SfReports. It took a little working with SFReport to get it working but after you set things up it works quite nicely.

>>I just bought SFReports (the day before the product was shelved).
I was sadden to see Stonefield drop the product because I think it is a great product.

>I am having difficulty building it into my app. My app is built with Visual >Extend and Stonefield's data toolkit. I built a form based on the Report >Wizard class and used the builder to populate the properties, but when I run >it and select NEW, the second screen shows .F. instead of the list of tables. >I think my problem is related to how I interpreted the property contents to >tell it where my DBC is. I want to use a relative path (my DBC is in a >directory called Data, located under the main project directory.) I set oMeta >to oMeta (which is what I think is the name Visual Extend instantiates the >DBCXMGR under..) I can't seem to use debug because Visual Extend wants certain >properties to exist on the form and the SF form is not based on a visual >Extend class. I'm not sure how to set all this stuff up and am finding the >help text not much help (proabably because I am still somewhat inexperienced >at 6.0).

VFX should automatically pick up that you are using SDT. Then what you need to do is go into SDT explorer and set up a 'Reportable' extend property at the table level and then add a 'Reportable, Sortable, & Filterable' extended property at the field level. Then depending on how you have your DBC set up you need to set to .T. the fields and Tables you want to be seen in SFReports.

Also note that each time you make a change to SDT on which table, field is reportable you will need to delete the table Repmeta.dbf and related files. This will automatically be regenerated next time you run the wizard.

Once you have your data set up Create a subclass of the SFWizard and then create a form from your subclass. When I was using VFX I had it setup to use a table on startup to find all the needed paths. I then stored those paths into properties in the application object so when I ran the SFwizard I would simply pull the paths from the App object and place them in the properties for SFReports.

If you would like I can send you a copy of my SFReports form from VFX. This may help you set things up. Let me know because it is on my computer at home since I nolonger use VFX.

>On top of it I might be missing some files because when I try to go into the >Samples Project (from SF Reports) it tells me I am missing SFLABEL.VCX and a >few other ones.

SFLabel is located in sfctrls.vcx. Have you tried to rebuild the sample app and have it locate the paths to it files?

Hope this helps some.
Bill
Bill Semmendinger
Stevens Graphics
Bill.Semmendinger@BellSouth.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform