Dropdown list in query parameter input
Dropdown list in query parameter input
Hi, apologies if this has been asked a lot already. I have a query with a parameter input (I've put :Name in the Criterion box that I want to filter results by) and a parameter input box comes up as expected when I run the query.
What I would really like to happen is that rather than just a blank free text box coming up, a dropdown list with all the unique values in the field comes up, so the user can select a valid entry to filter by. Is this possible?
Thanks
What I would really like to happen is that rather than just a blank free text box coming up, a dropdown list with all the unique values in the field comes up, so the user can select a valid entry to filter by. Is this possible?
Thanks
OpenOffice 4.1.5 on Windows 7 Professional
Re: Dropdown list in query parameter input
Yes,
it's possible to do in a form, using i.e. a one row filter table, see lot's of info here:viewtopic.php?f=100&t=42845
it's possible to do in a form, using i.e. a one row filter table, see lot's of info here:viewtopic.php?f=100&t=42845
- MMove 1.0.6
- Extension for easy, exact positioning of shapes, pictures, controls, frames ...
- my current system
- Windows 10 AOO, LOLinux Mint AOO, LO
Re: Dropdown list in query parameter input
That's nice, but how do I put a drop down box on a QUERY?
OpenOffice 3.1 on Windows 7
Re: Dropdown list in query parameter input
Forms are for user input.
Reports are for printable output.
Queries are not part of the user interface. They are more like development tools for data processing.
Reports are for printable output.
Queries are not part of the user interface. They are more like development tools for data processing.
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
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: Dropdown list in query parameter input
How do I make the Value field in the "Parameter Input" box on a query be drop down instead?
OpenOffice 3.1 on Windows 7
Re: Dropdown list in query parameter input
Hi,
Take a look at below example.
Regards
Nick
Take a look at below example.
Regards
Nick
- Attachments
-
- example.jpg (20.13 KiB) Viewed 17415 times
-
- Testify.odb
- (12.22 KiB) Downloaded 120 times
Libre Office 6.0.7 on Ubuntu 18.04
Re: Dropdown list in query parameter input
That is on the FORM, I am asking about the QUERY.
OpenOffice 3.1 on Windows 7
Re: Dropdown list in query parameter input
All you have to do is to edit the form, then the list box and select control box as follows...
In any case make yourself more clear, OK?
In any case make yourself more clear, OK?
- Attachments
-
- example2.jpg (62.35 KiB) Viewed 17369 times
Libre Office 6.0.7 on Ubuntu 18.04
Re: Dropdown list in query parameter input
HOW TO MAKE PARAMETER INPUT FOR QUERY A DROPDOWN BOX
OpenOffice 3.1 on Windows 7
Re: Dropdown list in query parameter input
Dear Mr. Kirjava,
Capitals are in netiquette deprecated, await therefore your excuses.
Regards
Nick
Capitals are in netiquette deprecated, await therefore your excuses.
Regards
Nick
Libre Office 6.0.7 on Ubuntu 18.04
Re: Dropdown list in query parameter input
It is worth noting that in OpenOffice /Tools /Macros /Organise Macros /OpenOffice Basic, under OpenOffice Macros : Tools there is a complete set of macros to handle Listboxes.
They may be under a similar position in Libreoffice (mutatis mutandis).
They may be under a similar position in Libreoffice (mutatis mutandis).
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: Dropdown list in query parameter input
Halleluja Rory,
Have a nice Holiday!
Nick
Have a nice Holiday!
Nick
Libre Office 6.0.7 on Ubuntu 18.04