Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Search through a grids columns
Message
De
19/11/2003 11:47:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00851475
Message ID:
00851489
Vues:
9
>Thanks for the help.
>
>Kelly

You're welcome

this may be a bit more complete
local i, obj, ColumnValue, cc

for i = 1 to this.ColumnCount
    obj = this.Columns[ i ]
    
    do case
    case !empty(obj.DynamicCurrentControl)
         cc = eval(obj.DynamicCurrentControl)

    otherwise
         cc = obj.CurrentControl

    endcase

    do case
    case empty(cc)
        ColumnValue = Null && none

    otherwise
        cc = obj.&cc
        ColumnValue = eval(cc.ControlSource)

    endcase

endfor
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform