for i := 0 to ADOQuery1.recordcount-1 do
begin
//插入题目
MyWord.selection.TypeText(fieldbyname('question').asstring);
MyWord.Selection.TypeParagraph;
//插入图片
TBlobField(FieldByName('picture')).SaveToFile(MyPath);
MyWord.Selection.InlineShapes.AddPicture(MyPath);
MyWord.Selection.TypeParagraph;
next;
end;
end;
end;