做了一个小示例,用一句代码实现数据与图片的联动。
在子窗体当前事件中输入代码:
Me.Parent.xpian.Picture = CurrentProject.Path & "\picture\" & Me.ID.Value & ".jpg"
附 件:
点击下载此附件
图 示: