Ask Your Question
1

Combo box in Base Forms [closed]

asked 2012-08-05 05:49:18 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I'm familiar with creating a combo box in an Access database for both a table and a form. I have no clue how to proceed in Base. I start with creating the combo box control in the form design screen after that, I have no clue. Tried all kinds of false starts. Someone please help.

I should comment that the LibreOffice documentation is absolutely worthless. I have all the basics and that's all it presents. Anything beyond that such as the couple of questions I've already posted after only a few hours trying to work with this thing there are no answers. I've trawled the internet over and over no luck. There is no relevant documentation. Who are the people who know this stuff, the designers and coders, and how does one reach them?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-21 15:47:00.940182

Comments

3

I agree that the Base documentation is very sparse. I usually skip the LO docs and search for OpenOffice Base tutorials and infos. Usually, the solutions that work for OOo work for LO, too.

tohuwawohu gravatar imagetohuwawohu ( 2012-08-05 08:28:47 +0200 )edit

You may want to have a look at this page: https://wiki.documentfoundation.org/Documentation/Publications

Mano Engel gravatar imageMano Engel ( 2013-02-10 20:33:22 +0200 )edit

3 Answers

Sort by » oldest newest most voted
1

answered 2012-08-17 22:15:13 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I'm also new to Base, and frustrated with the steep learning curve. I think what I found about the combo box in a form may help you. (I was looking for something else when I did this). I opened my form in the edit mode. Along the left side of the screen there are a column of icons, one of which is combo box. I clicked on this icon, and then drew a box in my form. The box has two parts. Right clicking on these boxes brought up a dialog box that let me choose where to get the list, how to display it and so forth. I hope this helps you with what you're trying to do.

edit flag offensive delete link more
0

answered 2013-02-10 19:26:45 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

The way I got listboxes to work is a little obtuse compared to access. The control needs to be assigned to a data object in the form, but when the wizard starts, what it is really asking you for, is where you want to look for your list items. Start by selecting a table you want the data to come from, then get the fields from that table you are comparing against the form control table. These don't have to have the same name, but the contents must be compatible. So, if you have a form expecting the index field from a table, but that doesn't make any sens to the user, you wish them to select a value from other fields in another table, the source for the list comes first, and the assigned column from that list is set to be the same value as you wish to insert into the underlying form table. The field offset value is which field from the table to equate.

For exampe say you have a table called projects consisting of id,projectname, sponsorID and another table called sponsor with columns id,surname. You wish to build a form based on projects, but need to use the sponsorID from a valid sponsor.

Once you have the basic form set up and saved,

1) add a listbox control. The wizard starts but the first text mentions the data control.Ignore that, and read the 2nd sentence.

2) Pick the list source table or query that you want the users to make some sense of. In the example above, select Sponsor and click Next.

3) Click on the column you would like to see displayed from the sponsor table. Click on Surname and click Next.

4) The wizard then presents you with 2 columns. On the left, select the field from the form data eg SponsorID, and from the right column, select the linked field, eg ID.

5) Click Finish. Save and view your form. Job's a good un.

edit flag offensive delete link more
0

answered 2012-11-25 03:23:24 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I have just taught myself what I think you want, Base is very similar to Access but no-one has written down how to convert access think to Base. If you want to make a combobox the same way as access try this.

after you have placed a combo box as described in the previous answer use the tools on the left and bottom of the screen. Base is like access with a design view and a user view. Have a look at this screen grab cant upload no Karma

the key point is use the form navigator to get to the properties and the rest is access like, knowing about the form navigator is a closely guarded secret.

hope this helps

Q

edit flag offensive delete link more

Comments

Thank you!

prekopz gravatar imageprekopz ( 2019-01-17 11:01:04 +0200 )edit

Question Tools

Stats

Asked: 2012-08-05 05:49:18 +0200

Seen: 10,437 times

Last updated: Feb 10 '13