Log In    |    Knowledge Base    |    4D Home
Tech Note: Building a User-Definable Report/Function Interface
Published On: December 1, 1998
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

If you are building a system that will use a lot of reports, it may become difficult to provide and manage access to them. Most developers start off by calling the reports directly from 4D menus. As the number of reports grows, it may become difficult to call them all from one menu.
This technical note describes a straightforward solution, whether you are accessing reports from a dialog or functions from a detail form. The principle behind this technique is to store the names of the reports and the methods (procedures) that they call in the application data file. This is then used to populate a drop-down list from which the user can choose the report to print or the function to execute. Each user only sees the names of reports/functions to which their password
group allows them access.

Tech Note