只是一个字符串联合,想怎么访问就怎么访问
var
s: string;
begin
s := ExtractFilePath(ParamStr(0)) + 'AR/';
s := s + AdoQuery1.FieldByName('filename').AsString; //假设filename里面保存的 ar30001a
s := s + '.jpg';
ShowMessage(s);
///得到文件路径了
with TImage.create(Form1) do
begin
Left := 0;
Top := 0;
Height := 100;
Width := 100;
Picture.LoadFromFile(s);
Visible := True;
end;
end;