Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search through a grids columns
Message
From
19/11/2003 11:47:29
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00851475
Message ID:
00851489
Views:
8
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform