Ask Your Question
0

pdf field in base database

asked 2017-05-17 20:38:42 +0200

rotormansa gravatar image

updated 2017-05-18 17:49:36 +0200

I have a fairly complex form for database entry of data. I am using a split database. I have four fields that I'd like to add that are pdf documents and I'd like to see them appear on the form much like a photo would. The image of the pdf on the form can be shrunk down to scale within the boxes I have on the form for these four fields. I thought by adding the four fields as Photos that would work but when trying to add data to the field "PDF" doesn't show up as a selectable file type. I could convert the pdf to jpg, but was wondering if a pdf could be put into a field.

UPDATE: Here's a few screen shots showing the set up of the form and database: rotormansaC:\fakepath\This is the data type for the four fields I want to add the pdf files to.doc

I am using version 5.2.6.2 (x64) on a Windows 7 64-bit platform.

edit retag flag offensive close merge delete

Comments

I unhide the known file types in the windows environment and PDFs still are not showing up in the pick list.

rotormansa gravatar imagerotormansa ( 2017-05-19 13:26:28 +0200 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2017-05-17 21:26:17 +0200

Ratslinger gravatar image

updated 2017-05-18 20:04:40 +0200

Not sure where or what is causing your problem.

Current test with split DB shows no problem inserting a PDF in an image control, whether it is saved as a BLOB or a link to the PDF. When entering the item and the Image Selection dialog displays, there was no restriction (<all formats=""> pre-selected) on .png, .img, .pdf etc.

Please provide more information about system, LO version (LibreOffice or distro if Linux), what control you are using, saving method (Blob, link).

Edit 5/18/17

Unfortunately, it appears I don't have an answer for you. Having given up on Windows for some time now and moving to Linux, the only way for me to check was to go to an old SLOW Vista system I have in the closet.

Setting up a base file (had LO v5.3.03 installed) for this, I basically ran the above test here and when selecting an image to insert I got: image description

which as you can see includes .pdf files. With this I had no problem inserting a PDF document.

It may be possible the extension is hidden. Please see this post - click here.

edit flag offensive delete link more
0

answered 2017-05-19 18:43:10 +0200

rotormansa gravatar image

Updating to 5.3.3.2 (x64) now has PDF in the pick list. Perhaps this is a new file type that is supported. Thanks for assistance, the screen shot from the 5.3.03 running Vista sealed the deal for me and I updated to 5.3.3.2 and all is good.

rotormansa

edit flag offensive delete link more

Comments

Yes, it's new in 5.3: see release notes.

Mike Kaganski gravatar imageMike Kaganski ( 2017-05-19 19:11:46 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-05-17 20:38:42 +0200

Seen: 452 times

Last updated: May 19 '17