Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SFR 5.1e and SDT 5.1j
Message
From
27/02/2004 15:28:02
 
 
To
25/02/2004 18:03:10
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00877755
Message ID:
00881632
Views:
23
Hello Doug,

In sfReports: sfReportEngine: SetupFieldCollections there are the following lines of code
if not empty(SFReports.QuickFlds)
	restore from memo SFReports.QuickFlds additive
	if not empty(laFieldDef[1, 1])
		for lnI = 1 to alen(laFieldDef, 1)
			loField = .oFieldsCollection.AddItem(laFieldDef[lnI, 1])
                                 .                 .         .
                                 .                 .         .
                                 .                 .         .
		next lnI
	endif not empty(laFieldDef[1, 1])
endif not empty(SFReports.QuickFlds)
should'nt there be an ELSE part in there to create the array and then put in in QuickFlds?


>Hi Denis.
>
>>So this shows that there are 2 oFieldsCollection objects. How can I keep that from happening within SFR?
>
>SFRFieldMetaData is used for the data dictionary, while SFRFieldCollection is used for the fields in a particular report. They shouldn't be getting mixed up. You'll have to trace to see where that's happening.
>
>However, what's confusing me is why this is happening for you at all. It doesn't happen in any of my sample reports, nor has anyone else reported it. Does it happen for all of your reports or just one? If just one, what's different about that report? If all of them, obviously this must have just started or you would've reported it earlier, so what's changed to make this start happening?
>
>Doug
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform