Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suggested Change: cgrd.Setorder()
Message
From
04/05/2005 17:49:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Suggested Change: cgrd.Setorder()
Miscellaneous
Thread ID:
01011079
Message ID:
01011079
Views:
48
I'm still on MM 7.1; so this might have been done already. I threw an error trying to reorder a grid column with a compound field, the following changes avoid the error without changing default MM behavior.
*----------------------------------------------------------
*-- Get the field, cursor name for the ControlSource cursor
*----------------------------------------------------------
*lcField = SUBSTR(tcControlSource, AT(".", tcControlSource) + 1)
*lcCursor = JUSTSTEM(tcControlSource) 
change to:
*----------------------------------------------------------
*-- Get the field, cursor name for the ControlSource cursor
*----------------------------------------------------------
lcField = JUSTEXT(tcControlSource) 
lcCursor = LEFT(tcControlSource, AT(".", tcControlSource) - 1)
Reply
Map
View

Click here to load this message in the networking platform