[Solved] URL in Push Button

Creating and using forms

[Solved] URL in Push Button

Postby Nocton » Sun Jul 30, 2017 3:12 pm

I have a URL in a Push Button linked to a spreadsheet.
I enter Rankings.ods as the spreadsheet name, but after the push button is activated and the spreadsheet opened the entry changes to 'Path/Rankings.ods'. As I should like to run the program on another computer where it may be located in a different folder so that Path may be different, how can I enter Rankings.ods so that it always looks in the current folder, i.e. the folder where the Base application is located?
Last edited by Nocton on Mon Jul 31, 2017 10:24 am, edited 1 time in total.
OpenOffice 4.2.0 on Windows 10
Nocton
Volunteer
 
Posts: 441
Joined: Fri Nov 05, 2010 10:27 am
Location: UK

Re: URL in Push Button

Postby Villeroy » Sun Jul 30, 2017 5:43 pm

menu:Tools>Options>Load/Save>General "Save URLs relatively to file system"
With this option checked, the path is stored relatively even though it is shown as an absolute path. The button should do the right thing after you moved both documents to another path.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 16.04, OpenOffice 4.x & LibreOffice 5.x
User avatar
Villeroy
Volunteer
 
Posts: 24379
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: URL in Push Button

Postby Nocton » Mon Jul 31, 2017 10:22 am

Thanks, Villeroy. That's how I have it.
OpenOffice 4.2.0 on Windows 10
Nocton
Volunteer
 
Posts: 441
Joined: Fri Nov 05, 2010 10:27 am
Location: UK


Return to Forms

Who is online

Users browsing this forum: No registered users and 3 guests