Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search through a grids columns
Message
From
19/11/2003 11:35:37
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00851475
Message ID:
00851479
Views:
7
>How would I go about looking through each column of a grid to find a certain value. What I want to do is to use a loop to go through the columns but I am unsure how to code going from one column to another. Any suggestions?
>
>Thanks in advance
>Kelly

Kelly,
local i, obj, ColumnValue

for i = 1 to this.ColumnCount
    obj = this.Columns[ i ]
    ColumnValue = eval(obj.ControlSource)

endfor
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform