Ask Your Question

Libreoffice 5.1 Base: How to use "Push Button" to open a second Form with specific data [closed]

asked 2016-03-03 11:33:09 +0200

hmadhi gravatar image

updated 2020-09-01 16:51:56 +0200

Alex Kemp gravatar image

I have two forms: 1. PatientConsultsForm (PatientForm + subForm ConsultDetails 2. DispenseForm

On the PatientForm I want a "Push Button" that will open the DispenseForm for the specific PatientID/ConsultID. How do I accomplish this.

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 2020-09-01 16:52:16.317687

1 Answer

Sort by » oldest newest most voted

answered 2016-03-15 22:28:15 +0200

jay Arr gravatar image

You'll need to write a macro and attach it to the push button event. The macro will need to open the Dispense form with a filter that uses the specific PatientID/ConsultID. I'm assuming your form is a database form. You can find out about opening forms like this by consulting the Access2Base website which has examples of code snippets that will help.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-03-03 11:33:09 +0200

Seen: 2,223 times

Last updated: Mar 15 '16