Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SFR 5.1e and SDT 5.1j
Message
From
01/03/2004 11:25:59
 
 
To
27/02/2004 15:28:02
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00877755
Message ID:
00882072
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform