Ask Your Question

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

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

hmadhi gravatar image

updated 2016-03-07 13:27:33 +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 close merge delete

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
Login/Signup to Answer

Question Tools

1 follower


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

Seen: 2,120 times

Last updated: Mar 15 '16