Ask Your Question

Can I create a grid with a button to select records?

asked 2017-06-17 00:35:11 +0200

this post is marked as community wiki

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

I'd like to display data in a grid and allow the user to select a record that I would then open for editing. I'm new to LibreOffice and have not yet found much about grids in the help files.

edit retag flag offensive close merge delete


To what purpose? The data in the grid is already editable.

And what is with all the Wiki postings? Posting as a wiki takes away functionality & makes it appear you are hiding.

Ratslinger gravatar imageRatslinger ( 2017-06-17 01:10:27 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2017-06-17 02:56:43 +0200

EasyTrieve gravatar image

updated 2017-06-17 07:29:00 +0200

Updated answer: I put together this demo database for you. Open it, and then open the Form. Then select a country at the top and the record pointer is moved to this record below in the Table Control (the green arrow on the left). If you edit a record, the lookup is updated when you next enter it. You can easily add multiple pull downs at the top, and use the same code for it's events, for example you might add another pull down sorted by something else.

image description

edit flag offensive delete link more


Thank you so much.

WoodsieOwl gravatar imageWoodsieOwl ( 2017-06-17 04:22:44 +0200 )edit

You're welcome. It took me much head scratching to figure out how to get LO to do this.

EasyTrieve gravatar imageEasyTrieve ( 2017-06-17 07:30:46 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-06-17 00:35:11 +0200

Seen: 51 times

Last updated: Jun 17 '17