Access report saved as Data Access Page

B

Bruno Frisque

Hi group,
I have a simple mdb (A2k) containing a table and a report.
Tha table contains the name of the images.tif

This report have a text box Document_Name (with the image name) and an Image
frame (unbound)
The VBA code, in Access, on Format is :

Image0.Picture = "c:\data\" & Document_Name

After converting this report as DAP, it just displays the textbox and My
Title.

Nothing in the image frame. !!??

How to change the VB Script to do the same as an Access report ??

The DAP script editor, converted, is :
---------- BEGIN VBA CODE ----------
Option Compare Database Private Sub Detail_Format(Cancel As Integer,
FormatCount As Integer)
Image0.Picture = "c:\data\" & Document_Name
End Sub
----------- END VBA CODE -----------

Any idea will be greatly appreciated
Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top