Some code I discovered the other day (recopied, pseudocoded) for finding the index of a specific column in a grid by name:
Function findColumnByName(name) as integer
for i = 0 to column.count-1
if column(i).name = name then exit loop
next
return i
end function
The problem here, which I'm sure is obvious to coders, is that if it doesn't
(
Read more... )