File Selection Control Question

Creating and using forms
Post Reply
wdlyons
Posts: 2
Joined: Sun Dec 07, 2008 11:01 pm

File Selection Control Question

Post by wdlyons »

Hi,

Please excuse my ignorance as I am sure there is a very simple answer to this question, although I am unable to find it.

I amtrying to attach a file to a record so I can view it at a later date. I have added the file selection control to the form and this seems to work well as I can select the file I wish to attached quite easily.

My question is what happens now? How do I view the file and where is it stored within the database.

Can someone please explain where I go from here?

Thanks in advance

Warwick
OOo 3.0.X on Ms Windows XP
User avatar
Villeroy
Volunteer
Posts: 31345
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: File Selection Control Question

Post by Villeroy »

The file selector can not be bound to a database field, so it is not saved in any table. In it's current state it is useful in programmatic context only. You may copy it's result into a bound text box to store it in the database. You may use a very simplistic macro of mine to "bind" a field of asssumed URLs to a button on the same form.
http://user.services.openoffice.org/en/ ... 999#p25810
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply