Acrobat PDFs Appear To Be 'stuck' In An OLE Field
Jul 26, 2006
Hi there
I've got an Access database, that somebody has given to us on CD. In it, there are several scanned documents that have been made into PDFs and stuck in an OLE field.
Unfortunately, I don't seem to be able to get at them. I can see the PDF icon in the OLE object's frame, but double-clicking on them chucks out a "Microsoft Access can't open the file containing the OLE object" error.
I know the files were added correctly, 'cause I've got an older version, and some of the same files appear to open fine. Any new files I add in this version are also openable. It's only the ones that were in there when I copied it off the CD that don't open.
Needless to say, I'm a little worried that I've lost a load of work. Does anyone have any idea as to how I might be able to get at them?
Ta!
Colin
View Replies
ADVERTISEMENT
May 27, 2005
Has anyone experienced problems when opening shared databases following the installation of Adobe Acrobat?
I have Access 2003 shared db's which are accessed by users via a desktop shortcut. Adobe seems to force the db to attempt to open with exclusive access resulting in an error. I know how to specify exclusive access within the shortcut (/excl) but I'm not sure how I can force shared access.
Has anyone figured out a way around this one?
Thanks, Dave
View 1 Replies
View Related
Sep 2, 2005
Hi,
After much frustration and hair pulling I have managed to get the code below to work.. It prints out reports from access one at a time cycling through the list of schools in our county. My question is that I would like to save each report with a filename eg KS1_3000_version1.pdf where 3000 is the unique school ID.
So my question is how can I get the code/acrobat to save my file in a desired location with a pre-specified filename?
this would make the whole process a real click of a button! I know it is possible because we have a national database that does the same thing.. but I cannot crack the backend to see the code
bah!
thanks in advance
john
***********
Option Compare Database
Private Sub Command1_Click()
Dim repQuery As QueryDef
Dim dBase As Database
Dim rsRep As DAO.Recordset
Dim strrep As String
Dim data1 As String
Set dBase = CurrentDb()
Set repQuery = dBase.QueryDefs("john_test_ks1")
Set rsRep = CurrentDb.OpenRecordset("2_KS1_Performance_review_report")
Do While Not rsRep.EOF
data1 = rsRep.Fields("ESTAB_FK").Value
repQuery.sql = "SELECT SCHOOL_BASE_DATA_SCHOOL_BASIC_DATA.DFES, * FROM 2_KS1_Performance_review_report INNER JOIN SCHOOL_BASE_DATA_SCHOOL_BASIC_DATA ON [2_KS1_Performance_review_report].ESTAB_FK = SCHOOL_BASE_DATA_SCHOOL_BASIC_DATA.DFES WHERE ((([2_KS1_Performance_review_report].ESTAB_FK)= " & data1 & "));"
repQuery.Close
DoCmd.OpenReport "john_test_KS1_report"
DoCmd.Close acReport, "john_test_KS1_report"
MsgBox "done"
rsRep.MoveNext
Loop
Set rsRep = Nothing
Exit_Command1_Click:
Exit Sub
Err_Command1_Click:
MsgBox Err.Description
Resume Exit_Command1_Click
End Sub
View 7 Replies
View Related
Feb 9, 2005
Hello,
I am currently on maternity leave and trying to troubleshoot this from home, so I hope I've got all the details right!
Our form, which shows details of a specific document, contains a hyperlink field into which we insert a link to the PDF file of that document...then we can just click the link to open the PDF. We've never had a problem with this. However, since I left, the office has upgraded to Acrobat 7 and the links no longer work. Apparently when you click on the link it looks like Acrobat just opens and closes immediately. They are using Access 2003.
Anyone have any experience with this, or any suggestions on what to try? I'm not even sure where to start.
Thanks!
Jen
View 5 Replies
View Related
Feb 13, 2006
I am trying to get an access report to save a pdf file, then with a control button create and e-mail and attach the email and send it. Has anyone coded anything like this?
View 1 Replies
View Related
Nov 6, 2013
I know it's a long shot, but, in A2010 I'm trying to convert a series of Word doc files into pdf, BUT then assemble them into one large PDF. It's for a sort of archiving system.
way I can do this, preferably just using the PDF capabilities within Access and without purchasing any Adobe Pro software.
View 2 Replies
View Related
Jul 11, 2013
Am using below code for generating set of pdf files in a desired folder..similarly I have another code, which generates another set of pdf file in another folder.. Count and Filename is identical in both the folders and I need to merge the file names with identical names together....separate binder file would also work..
Private Sub Command14_Click()
Dim strDefaultPrinter As String
strDefaultPrinter = Application.Printer.DeviceName
Set Application.Printer = Application.Printers("Adobe PDF")
[code]....
View 4 Replies
View Related
Feb 6, 2015
I have several reports that creates price sheets for all of my customers. It is a report with multiple subreports within, and I am trying to create a process to seperate them and export them all into [Customer Name].pdf. I have tried to scrap some code together from various forums, and it has been unsuccessful.
For example, one of the reports "rptPriceSheetQuarterly", has a field "txtCustomerName", that feeds the queries for the other subreports. I would like to create a new PDF when that field changes.
I understand I need some sort of looping code that will cut the report up dump them all into one folder, but I am totally out of my element here.
View 14 Replies
View Related
Aug 31, 2014
I have a report that has a group sort and page break after each area. What I'd like to do is export each area as it's own individual PDF report (preferably as an automated process).
View 3 Replies
View Related
Mar 11, 2014
we are moving from Access 2003 to 2013 using Windows 8.1 64bits. We used Leban's code and library to create and merge pdfs. C
Creating pdfs can be done with built-in functionality in Access 2013. But I can't find a way of merging pdfs. I've tried Leban's Dlls files but I am getting run-time error: "File not found:StrStorage.dll" do I need to do something extra to make Leban's code work on Windows 8 64bits ?
View 8 Replies
View Related
Apr 21, 2015
I am attempting to create a database where I can input a number that will display a word document, and pdf's, and be able to toggle through them. I have all the data compiled. I just need to present it in some type of a front.
View 2 Replies
View Related
Jul 5, 2013
I have a spread sheet which on a per line basis contains columns whose cells contain the path to a file. It looks as if many of the files are tif, pdf, word and excel etc, so multiple file types.
Writing a routine which would take each row and then for each line of file paths turn them into one multi-page document - pdf or something?
View 1 Replies
View Related
Jul 19, 2013
I've created an accounts package for my business using access 2003 and I'm just thinking of some time saving features.
We need to email our invoices to our clients.
Normally we print out an invoice, scan it back into the computer, save as a PDF and attach to an email manually one by one.
My package can now print to PDF (saving one step), but what I would like is to be able to print to PDF and attach to a new email (with the email address coming from the customer table) and possibly attach more than one PDF to a single email.
I know you can use
Code:
DoCmd.SendObject acReport, stDocName
to send a report but I would like it as a PDF as my formatiing is lost using that code and we normally send PDFs to our clients.
View 14 Replies
View Related
Apr 20, 2013
I would like to be able to add more than one scanned document and link them to one record.
If it is possible, I would like to have a command something like "Attach file" on the form displaying the record. The user could browse to find the scanned document and it becomes a link. The user could then scan and browse for another document, which becomes a second link, in some kind of list box.
View 14 Replies
View Related
Nov 1, 2013
I'm a newbie and using Access 2007.
I have added functionality that creates a report, saves it as a PDF, and then sends it to a customer via email as an attachment. The PDF file is saved to a folder and is named to include the Customer's unique customer number and the date and time the PDF was created.
For example, if the customer number is 09 and the date was 10th October 2013 and the time 09.00am, the file name is 0009101020130900.pdf.
What I want to be able to do from within the database is to have a button, that when clicked, will display all of the Pdf's for only customer number 09. The customer number will be based upon a field in the customer record.
View 4 Replies
View Related
Aug 13, 2013
I'm looking to use the shell function to dynamically call different pdfs that are in a directory. However I'm getting run time error 5 "Invalid procedure or call argument".
Here is the code (very basic I know)..
Private Sub Liste_Documentation_DblClick(Cancel As Integer)
Dim PathName As String
PathName = Me.Liste_Documentation.Column(2)
' Debug.Print PathName
Shell PathName
End Sub
A typical filepath name is as follows..
S:VenteVendeursMarcCRMDOCSDiligences KYC - LABFT - V 2013 04 23.pdf
View 8 Replies
View Related
Aug 19, 2015
I have a sales report that I generate each week based on a query, which relies on the input from a combo box on a form. This works great - but I have select each salesperson, one at a time and run their reports separately.
I'd like to have some code that will run through each person on the list, generate their report, create the PDF, and email (or save) the file.From my initial research, it appears I will need to utilize a List Box (vs a combo box), so I can select multiple salespersons for the report.
I've found a few examples of code to use...but a little lost on how to implement. I create a new form with a list box that queries the property table for the list. I then added a button to execute the code, and attempted to add this (with my control and reports names substituted). Getting all sorts of errors -- so not sure I'm on the correct path.
'Posted by ADezii 5.23.2009 on bytes.com
'Modified by Gina Whipp 11.4.2009 to OutputTo Multiple Files
'Tested in Access 2003 with a Combo Box
Dim intCounter As Integer
Dim cboCode As ComboBox
Set cboCode = Me![ YourControl ]
'If Your Data Type is Numeric use this section
[code]...
View 14 Replies
View Related
Aug 6, 2006
i have been trying to for the last several weeks create a database which holds information about companys e.g addresses etc on it. It also has a subform on it which runs a query and shows me the courses they run with a button beside it. This subform propertys is set to continues and so there is a button that appears beside each course. How can i get it so when i click on the botton beside that particualr course it will load up another form and display some more information holding the times and dates of this course.
View 11 Replies
View Related
Jun 15, 2007
I've been designing a db and entering data in the process. Now I'm almost done with this project and other people are interested in this db. Is there a way to empty all table records? Is there a command to have a blank db?
My db has almost 5,000 records :S and each record has another table with 5 linked records
so there are like 25,000 records to delete. I know there is a way and its to create another table with the same fields and importing the rest of the objects... but I want to make there is no other way.
Another Q is how to add security to my db how to "attach" the db to a hardware of a computer so if the db is installed on another computer it asks for a serial number...I have asked this before but no one had answer me this.
Thanks in advanced
View 7 Replies
View Related
Jan 8, 2008
Hi
I want to use MS access to build a diary / appointment system, and a table for storing contact details.
I am struggling with the appointment system. I was going to try a table with the date and diffefent app times as fields. then put it into a form so that it looked like a diary page and i could just add names to the times., this would have ollowed be to scroll backwards and forwards through the dates with ease (as each day would be a new record)
The problem i have found is that this makes running quires on individuals difficult,i would like to see for example how many appointments a person has missed, the dates of there next appointments if they have pre booked ect.
any suggestions as how i should go about this?
View 6 Replies
View Related
Apr 28, 2006
I'm trying to update a table based on a field in an unbound form
Here’s the code:
Private Sub Command38_Click()
Dim strPartNo As String
strPartNo = Me!fldPartNumber
Set dbs = CurrentDb()
Set rstBalUD = dbs.OpenRecordset("SELECT * from PartsInventory WHERE CO_PART_NO = [fldPartNumber]", 1)
rsBalud!SERVBAL = Me!fldNewServBal
rstBalUD.UPDATE
End Sub
Here’s the error:
Run-time error ‘3011’
The Mircosoft jet database engine could not find the object ‘SELECT *
from Partsinventory WHERE CO_PART_NO = [fldPartNumber]’.
Make sure the object exists and that you spell its name and path name
correctly.
Reply With Quote
View 2 Replies
View Related
Oct 7, 2007
I have a table that has the follwoing fields:
-student name
-pesent percentage
-compare value 1 (a number)
-compare value 2(a number)
now i want a query to display the following fields as an output
-Student name
-Compare value
-present percentage 1
-present percentage 2
so where "compare values" 1 and 2 are equal it will display 1 record in the query that will show both the values. in respective fields.
View 4 Replies
View Related
Mar 4, 2005
I have a form which includes two fields (amonst others) Town and STDCodes.
What I want to do is enter the Town from a drop down list and the STDCode is automaticly inserted in the STDCode field, the towns are all local about 20 in total. How can I do this please in simple easy steps.
Malcolm
View 2 Replies
View Related
Mar 12, 2005
Hi all.
I'm creating a database for a work experience database for a school where each pupil has to be assigned to a company. The problem is that on the form "Final form" where it says Work ID I want it so that each pupil is assigned to that company and then I can create a reports.
For example I choose work ID 2 for one of the pupils and when I create a report it'll have the information of the student profiles with the companies they're supposed to go to.
Can anyone give me a hint or any guidance on how I can do that?
Thanks.
I haven't used Access for that long so I'm useless with all the technical terms, sorry.
View 1 Replies
View Related
May 11, 2005
Right im really stuck on this, how do you get the date visit to update correctly, it requeries but some times shows data it shouldnt. it should corispond with the subform.
next thing is the text box that says 'name needs to display the notes from that visit in , ( that thats in the sub form far right box.
any help on this would be much appreciated
in the dtabase its form "CD2"
View 10 Replies
View Related
Sep 20, 2004
Ok so I have been working on this problem for two days, and I am stuck.
It's been a little while since I've used Acess, so please pardon this question.
A database has been built compiling thousands of records of information for shipments. Here is the main problem.
Imagine if you will, that a truck is sent from teh warehouse to a customer, with the customer's order(s). So in the
database, is a record for each order. The order is comprised of the Bill of lading for the truck, the customer's name, and information about that specific set of palettes. So for example a truck may be sent to a customer, and there are 3 types of products on the truck, or only 1 type. For each record, we have the cost of shipping that individual product, as well as the amount paid for the entire bill of lading.
We've creaetd a query to pull out all the trucks that were shipped with just one product. We've also created a query to pull the 'duplicate' records. The problem lies in manipulating this "duplicate" query.
Each record in this query has multiple entries for bill of lading field, the customer's name, amt paid, and cost amt. We want to create a query from the "duplicate query", that will return just ONE listing of each bill of lading, as a well as a total cost of shipping. so for example if
bill 704555, had 3 shipments on it at a cost of $50, $17, and $33, we want a query that will compile these 3 listings into one listing (So now Bill of Lading appears once, with all the requisite information, and the total cost of $100 in a new field in this query, called totalCost). We'd calculate this by hand, but there are approximately 7000 recodrs in the query, and this will continue on an ongoing basis, so the query needs to perform teh summations.
thanks in advance for your help!
Matt
View 1 Replies
View Related