*** Add the flag to column1 SELECT Country SCAN IF cCountry # '<unknown>' THIS.colFlag.AddObject( "img" + ALLTRIM( cCountry ), "Image" ) ELSE THIS.colFlag.AddObject( "imgUnknown", "Image" ) ENDIF THIS.colFlag.Controls[ THIS.colFlag.ControlCount ].Picture = ALLTRIM( cIconFile ) THIS.colFlag.Controls[ THIS.colFlag.ControlCount ].BackStyle = 0 ENDSCAN THIS.colFlag.DynamicCurrentControl = [IIF( NOT EMPTY( Clients.cCountry ), "img" + ALLTRIM( Clients.cCountry ), "imgUnknown" )]