我在一个未绑定窗体上放置了一个未绑定的附件控件,现在我想让它显示表中一个附件数据类型的字段的数据,不能实现 如:
Dim RecSet As DAO.Recordset
Dim rstAttachment As DAO.Recordset
Set RecSet = CurrentDb.OpenRecordset("SELECT PDFid, myAttachment FROM tPDF WHERE PDFid =1")
Set rstAttachment = RecSet!myAttachment.Value
' Help Start
Me.ControlAttachment.???? = rstAttachment!????
' Help End
rstAttachment.Close
RecSet.Close
急盼高手赐教!