1,216
社区成员
发帖
与我相关
我的任务
分享
Private Sub DataReport_Initialize()
'..........
dim tmp as string
tmp="c:\temp.tmp" '临时文件,用来保存读出的图片
with mst
.Type = adTypeBinary
.Open
.Write adors.Fields("tup") )
.SaveToFile tmp, adSaveCreateOverWrite
.Close
end with
Set Me.Sections("Section1").Controls("Image1").Picture = _
LoadPicture(tmp) '载入临时文件中的图像
'..........
end sub