Ask Your Question
0

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

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

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

Comments

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 +0100 )edit

1 Answer

Sort by » oldest newest most voted
0

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

EasyTrieve gravatar image

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

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

Comments

Thank you so much.

WoodsieOwl gravatar imageWoodsieOwl ( 2017-06-17 04:22:44 +0100 )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 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

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

Seen: 38 times

Last updated: Jun 17 '17