Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Building object name and calling it
Message
From
04/03/2017 06:42:24
 
 
To
04/03/2017 05:46:17
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01648762
Message ID:
01648773
Views:
40
>As per displaying data, it depends on what kind of an object that is. If say, it is an object with a ControlSource property, you could scatter the records to an array and bind array objects as controlsources (and gather if would be saved). ie:
>
>
>If Reccount() > 0
>	AddProperty(Thisform, Textmerge('aRecords[<< RECCOUNT() >>]'))
>	Scan
>		Scatter Name Thisform.aRecords[RECNO()] Memo
>		With Getpem(Thisform, 'Dayjobsline'+Ltrim(Str(Recno())))
>			.Visible=.T.
>			.ControlSource = Textmerge('(thisform.aRecords[<< RECNO() >>].MyField)')
>		Endwith
>	Endscan
>Endfor
>
Very similar to my thinking. The possibility of a table with a couple of 100k records filtered out (but still reccount() very high) points me to a dedicated scatter object ;-))
>

>PS: A question would be, why not a grid.

Valid question...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform