Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suggested Change: cgrd.Setorder()
Message
De
04/05/2005 17:49:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Suggested Change: cgrd.Setorder()
Divers
Thread ID:
01011079
Message ID:
01011079
Vues:
49
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)
Répondre
Fil
Voir

Click here to load this message in the networking platform