New Record Problem

johnob

Registered User.
Local time
Today, 15:59
Joined
Jan 12, 2014
Messages
45
Hi all,

I'm having a problem with a form that when you want to add a new record, It takes the previous records PDF files. Is there anyway to stop that.

thank you

John
 
Your description does not make completed sense. What is the setup of this PDF field? Is this an attachment field? Explain a little bit more.
 
Hi ,

I have add a sample off the database, if you load a pdf file, select it and press the preview button, it will come up in the box. Now if you press new record it will still show that pdf.

i dont want that

John
 
Last edited:
Add this code to the Form_Current method.
Code:
Private Sub Form_Current()
    If Me.NewRecord Then _
        Me.PDFViewer.LoadFile ("D:\Diabetes\ResMed Reports\NoReportSelected.pdf")
End Sub
 

Users who are viewing this thread

Back
Top Bottom