J johnob Registered User. Local time Today, 15:59 Joined Jan 12, 2014 Messages 45 May 21, 2014 #1 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
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
pr2-eugin Super Moderator Local time Today, 15:59 Joined Nov 30, 2011 Messages 8,487 May 21, 2014 #2 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.
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.
J johnob Registered User. Local time Today, 15:59 Joined Jan 12, 2014 Messages 45 May 21, 2014 #3 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: May 21, 2014
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
pr2-eugin Super Moderator Local time Today, 15:59 Joined Nov 30, 2011 Messages 8,487 May 21, 2014 #4 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
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