PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: eldonfsr on March 03, 2024, 01:20:21 PM

Title: Can create a Browse Query
Post by: eldonfsr on March 03, 2024, 01:20:21 PM
Hello is possible to cerate browse query to show customer information and add buttons to add, delete, edit , I made a test and create a browse query but just to show information and the options , select , search, sort but i don't  see option to add buttons..

 
Title: Re: Can create a Browse Query
Post by: Mike King on March 03, 2024, 09:36:18 PM
You could use the maintenance/screen generator to create a screen with a list box that you populate from a query, then add buttons below it.

You could also change your design so you start from a file maintenance screen with a query that allows selection of the client.  The standard file maintenance has edit, add new, and delete options along with browse buttons.
Title: Re: Can create a Browse Query
Post by: Jane Raymond on March 04, 2024, 08:28:27 AM
In the Query Header Definition you can specify a library and panel to invoke to maintain the file on the Interfaces tab. So if you have a maintenance panel for the file, specify it here, and when the query runs a button will appear on the toolbar (or an item on the menu depending on the query view) that will allow you to edit the file using your maintenance panel.