MI-L RE: Update row with field name

2005-08-17 Thread Ronning, Christine
Thanks Milo, As you can see below I have already written code that finds the maximum value for each record into a field called "Max_Count". I tried to modify the code you sent me so that the name of the field with the maximum value will be placed in a field called "Max_C_Group". When I compil

MI-L RE: Update row with field name

2005-08-18 Thread Milo van der Linden
A couple of questions: - Did the "update population_Var Set Max_Count" statement actually create data in your Max_Count column? Check to see this in mapinfo via the mapbasic window in MapInfo itself - Where did the loop to cycle through the records go? If that loop is no longer there, Max_count hol

MI-L RE: Update row with field name

2005-08-18 Thread Ronning, Christine
Hi Milo, As you can probably tell this is the first MapBasic code (actually first of any type of code) that I've tried to write. Yes the update population_Var Set did create data in the Max_Count column. I compiled and ran the code before adding the code starting with "If Population_Var._15_19