- Creating a Property Grid for a User-defined Component
/documentation/pages/Guides/Mobile and Web Components/Custom/Creating a Property Grid for a User-defined Component.xml
One way to create a Property Grid for a User-defined Component is to use the Property Grid builder in Action Scripting to generate the markup. This is invoked by creating a New Script (using Action Scripting), adding a new action, and selecting Xdialog Windows|Display an Xdialog Box.
- Converting a Quick Report to a Layout Table Report
/documentation/pages/Guides/Report/Quick Reports/Converting a Quick Report to a Layout Table Report.xml
Once you have gone as far as possible with a Quick Report, you'll want to convert it to a Free Form or Layout Table Report. The Open in Report Editor button on the main toolbar does this when the Quick Report Genie is open.
If you want to preserve the Quick Report for future use in the Genie, first press the Save As button on the main toolbar and either accept the generated name or choose a new name.
- Creating a Button that Calls an Action Script
/documentation/pages/Guides/Desktop/Xdialog/Controls/Buttons/Creating a Button that Calls an Action Script.xml
Configure a button that uses an action script and the OnPush Event. This page contains a code explanation.
- Creating a Button that Calls an Xbasic Script
/documentation/pages/Guides/Desktop/Xdialog/Controls/Buttons/Creating a Button that Calls an Xbasic Script.xml
How to configure a button that calls an Xbasic script using the onPush Event. Code explanaions included.
- Using Xdialog to Filter a Report
/documentation/pages/Guides/Desktop/Xdialog/Using Xdialog to Filter a Report.xml
The following example shows the use of a multi-select list box with embedded check boxes with the AlphaSports sample database. It allows the operator to select multiple values from the BILL_CITY field, then uses this information to filter the fields that will appear on a report. The Xdialog form looks like this.
- Running a Script
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic Action Scripting/Running a Script.xml
When you run a script you can choose one of three ways in which the script is run:
- Using an Index to Find a Record
/documentation/pages/Guides/Desktop/Design/View/Database/Using an Index to Find a Record.xml
The following script is provides a simple example of how to use an index to determine whether a record exists, and to act accordingly. To start, we create an index based on lastname and firstname named "LF". The Order Expression for the index is alltrim(lastname) + "," + alltrim(firstname).
- Copying a Report to Another Database
/documentation/pages/Guides/Report/Managing Reports/Copying a Report to Another Database.xml
If you would like to copy a report to another database, it is important to understand that a report is not attached to a database. It is attached to a table. The source and destination databases must have tables with the same field names and definitions.
- Run a Script
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic Action Scripting/Run a Script.xml
The Run a Script action runs an Xbasic script.
- Importing a Layout as a Starting Point for a New Report
/documentation/pages/Guides/Report/Getting Started/Importing a Layout as a Starting Point..xml
If you have already created a form or browse, you can use it to create a report. The following example creates a report from the CustomerBrowse browse in the AlphaSports sample database.