Using the "Same Condition as Previous" Setting
/pages/Guides/Desktop/Design/Platform/Xbasic Action Scripting/Introduction/Using the Same ConditionasPrevious Setting.xml
The condition for an action can be copied to other actions that use the same conditions using the *[ui:Action is conditional and Same as Previous]* option.
Using a Lookup to Set the Current Record
/pages/Guides/Desktop/Design/View/Database/Using a Lookup to Set the Current Record.xml
This topic describes how to use a table lookup to set the current record. The example is based on the Customer table of the AlphaSports sample database. The following form shows the Firstname, Lastname, Company, and Phone fields from the Customer table. In addition, there is a drop down combo box with the label "Lookup". The lookup field displays unique field values from the Phone field. When you select a phone number if the lookup field, the other controls on the form update automatically to show fields from the same record.
Using the {Col} and {Row} Commands
/pages/Ref/Desktop_Api/UI Functions/XDialog/Commands/Using the {Col} and {Row} Commands.xml
In addition to the rather terse '|' column delimiter and ';' row delimiter, there is an alternate way to specify rows and columns which is similar to syntax used for tables in HTML documents. The {Col} {Endcol} command pair can be used to specify the start and end of a column, and the {Row} {Endrow} command pair can be used to specify the start and end of a row. Like the {Region} {Endregion} command, you can use an optional numeric digit with the command to help you keep track of which {Endcol} command belongs to which {Col} command, and which {Endrow} command belongs to which {Row} command. For example, {Col1} {Endcol1}. The {Col} {Endcol} and {Row} {Endrow} commands have the following rules:
Empty Objects are Taking up Space on The Report
/pages/Troubleshooting/Reports/Empty Objects are Taking up Space on The report.xml
A Report has controls that is taking up space when there is no content.
The CustQueryReport Form
/pages/Guides/Desktop/Design/View/Form/The CustQueryReport Form.xml
The CustQueryReport form provides the user with methods for querying and selecting records for printing.
Editing a Layout Table Report
/pages/Guides/Report/Layout Table Reports/Editing a Layout Table Report.xml
Editing a Layout Table Report is somewhat different from editing a Free Form Report, although many operations, such as adding a field to the report, are the same for the two types of report. For general information about Free Form reports, see Report Topics. When editing a Layout Table Report, however, you must think in terms of rows and columns and regions, as though you were working in a spreadsheet or HTML table — which, in fact, may be your ultimate targets for the report.
The Alpha Developer IDE
The Alpha Developer is the integrated development environment (IDE), in which you build your application. It includes code editors, automation tools for writing and organizing your applications, preview screens, and a debugger. The main parts of the IDE are listed below.
Using The Google Charts API in Your Applications
/pages/Guides/Desktop/Design/View/Chart/Using The Google Charts API in Your Applications.xml
The Google Charts api is documented at: link). Google Charts is a free Google service that allows you to generate graphs as images by calling a web service. The example below shows how a call is made to the Google Charts service. The service returns binary data in the form of a PNG image. We then load the PNG data into an Alpha Five internal image with the ui_bitmap_png_load() function and finally display the image on an Xdialog.
Generating QR Codes on the Client-side Using Javascript
/pages/Guides/Mobile and Web Components/UX/Controls/Data Controls/QRCode/Generating QR Codes on the Client-side Using Javascript.xml
QR Codes are simply data. As with other data controls, you can the setValueFrom() to set the value of a QR Code.
The InvoiceReportMenu Form
/pages/Guides/Desktop/Design/View/Form/The InvoiceReportMenu Form.xml
The InvoiceReportMenu form presents the user with a variety of choices for printing invoices. The RADIO1 option button stores a value into a form variable named option. The conditional object COND1 responds to the change of the value of option by displaying one of four pages. Each page captures user input and stores it in one or more form variables.