Click to See Complete Forum and Search --> : FlexGrid Question


ScottRay321
March 18th, 2001, 08:38 PM
Ok i need to figure out how to compare elements in a colum, i have numbers going straight down and i need to figure out how to code comparing these elements where i can figure which one is the greatest, then give the row it is located in .... Also this flexgrid is created by prompting the user for the amount of rows so this program needs to compare a constantly changing number of rows underneath a colum....???? what do i do anyone please help!?

Iouri
March 19th, 2001, 07:12 AM
If you need to find the greatest number in a column you can sort msflexgrid by this column and find the greatest.
Another approach - you can put all numbers from the column to the array and then sort the array.

Iouri Boutchkine
iouri@hotsheet.com