Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UDF as control source for grid column
Message
From
21/05/2001 17:15:16
Jill Derickson
Software Specialties
Saipan, CNMI
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00507675
Message ID:
00509691
Views:
18
Thom,

Good one! thanks for that....

>If instead you did something like:
>
>SELECT APN AS Status, SPACE(25) AS FullStatus ;
>FROM MyTable ;
>GROUP BY Status ;
>INTO TABLE ShowStatus
>
>UPDATE ShowStatus ;
>SET FullStatus = GetDesc(ShowStatus.Status, "APN")
>
>SELECT MyTable.*, ShowStatus.FullStatus ;
>FROM MyTable, ShowStatus ;
>WHERE MyTable.APN = ShowStatus.Status ;
>INTO CURSOR Disp2Grid
>
>Then GetDesc() will fire less than a half dozen times. Additionally, you can optimize the queries
>for better performance.
Previous
Reply
Map
View

Click here to load this message in the networking platform