I did it before but I can't remember how.
I have a form set up with text boxes, but I wanted to turn them into a dropdown list to minimise spelling mistakes.
I tried Replace with > List box, but it doesn't work. It just makes the box unresponsive.
Replace with > Combo Box puts a line along the bottom of the text box, and also makes it unresponsive.
Summary:
I already have a table.
I already have a form.
The purpose of the form is to add new items to the table
The form was made with the wizard.
The form has text boxes on it.
I want to turn some of those text boxes into dropdown boxes.
I want the dropdown box to display one of each input (eg. "Book", "Game", "Film & TV").
Edit: I added a list box and crtl + click to delete a text box, and put the list box where the text box was. It shows a huge list of 1090 items, instead of one of each. No idea how to make it work.
Turn text box into dropdown box on form
Turn text box into dropdown box on form
OpenOffice 3.1 on Windows 7
Re: How do I turn a text box into a dropdown box on a form?
Ctrl+RIght-click>Replace with>Combo box
Data properties> Source type:SQL, Source:
The combo box offers the already existing entries.You you can enter new categories any time because a combo box is just a text box with auto-complete.
Data properties> Source type:SQL, Source:
Code: Select all
SELECT DISTINCT "column" FROM "table"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: How do I turn a text box into a dropdown box on a form?
It's better, but still not what I want.
I want a box with a list option so that I can add a new item type OR use one which I've already got in the table.
I want a box with a list option so that I can add a new item type OR use one which I've already got in the table.
OpenOffice 3.1 on Windows 7
Re: How do I turn a text box into a dropdown box on a form?
For information: OpenOffice comes with a built-in set of macros to handle Listboxes: these can be accessed through /Tools /Macros /Organise Macros /OpenOffice Basic /OpenOffice Macros /Tools /Listbox.
Understanding these and their use will require OpenOffice BASIC skills
Understanding these and their use will require OpenOffice BASIC skills
Apache OpenOffice 4.1.16 on Xubuntu 24.04.3 LTS
Re: How do I turn a text box into a dropdown box on a form?
Villeroy is right. Check this:
https://www.youtube.com/watch?v=aOkkqaHRgzY
https://www.youtube.com/watch?v=aOkkqaHRgzY
____________
DiGro
AOO 4.1.16 (Dutch) on Windows 11 64-bit. Scanned with Ziggo Safe Online (F-Secure)
DiGro
AOO 4.1.16 (Dutch) on Windows 11 64-bit. Scanned with Ziggo Safe Online (F-Secure)