Código Delphi
[-]
var
anios:string;
begin
anios:=(1925,1955,1920);
IBQueryMotivos.SQL.Clear;
IBQueryMotivos.SQL.Add('select * from motivos where año in '+ANIOS);
IBQueryMotivos.Open;
Eso de arriba debe ser así y me comentas como te fue:
Código Delphi
[-]
var
anios:string;
begin
anios:='1925,1955,1920';
IBQueryMotivos.SQL.Clear;
IBQueryMotivos.SQL.Add('select * from motivos where año in ('+anios+')');
IBQueryMotivos.Open;
Lo demás es hacer un bucle para coger los años, Roman ya te dio un ejemplo.