Ca tu pourrais le transformer en utilisant le dataset ...

Genre



DM_NUM := LeComposantBaseDeDonnee.FieldByName('LE Nom Du champ').AsString;