Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SFR 5.1e and SDT 5.1j
Message
De
27/02/2004 15:28:02
 
 
À
25/02/2004 18:03:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00877755
Message ID:
00881632
Vues:
24
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é
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform