FlexGrid caption column

I want to set the text of a column (the caption?).But when i use the code: FlexGrid1.Cols(1).Caption = "name"It still does not work, and i get the columnname from the access database instead of the name i specified in the FlexGrid1.Cols(1).Caption