Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SFR 5.1e and SDT 5.1j
Message
De
01/03/2004 11:25:59
 
 
À
27/02/2004 15:28:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00877755
Message ID:
00882072
Vues:
20
Hi Denis.

>
>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?

If QUICKFLDS is empty, there's nothing to so, since no fields exist. The RESTORE FROM command creates the laFieldDef array, since it was stored with a SAVE TO command. If the first element of that array is empty, there aren't any valid fields defined, so again, there's nothing to do.

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform