- Using a Dialog as a Search Form
/pages/Guides/Desktop/Design/View/Form/Using a Dialogasa Search Form.xml
Assume you have a grid that shows all the records of a table, such as the following.
- Placing a Data Field on a Form
/pages/Guides/Desktop/Design/Data/FieldRules/Placing a Data Field on a Form.xml
There are three ways to place data fields onto a form.
- Placing a Browser Control on a Form
/pages/Guides/Desktop/Xdialog/Controls/Placing a Browser Control on a Form.xml
The following procedure describes the process of placing the Microsoft Web Browser (shell.explorer) ActiveX control on a form.
- Running a Script with a Function Key
/pages/Guides/Desktop/Design/View/Form/Running a Script with a Function Key.xml
You can use the OnKey event to trap any keystroke and run a script. For example, the following code on the OnKey event will trap the F2 key and run a user defined function.
- Creating a Custom Component
/pages/Guides/Mobile and Web Components/Custom/Creating a Custom Component.xml
Creating a custom component involves four steps.
- node_request Function
/pages/Ref/Api/Functions/Xbasic/Xbasic Functions/node_request Function.xml
Calls a node service from Xbasic. Returns a JSON string.
- Placing a Running Count on a Report
/pages/Guides/Report/Adding System and Calculated Fields/Placing a Running Count on a Report.xml
This procedure explains how to place a running count of items on a report that produces something like the following. Note the sequence of numbers at the left of each Product ID.
- Filtering a Grid with a Session Variable
/pages/Guides/Mobile and Web Components/Grid/Introducing the Grid Builder/Tutorials/Filtering/Filtering a Grid with a Session Variable.xml
How to filter the contents of a list based on the user's ID or another value.
- Applying a Range to a Table
/pages/Guides/Desktop/Design/Data/DBF/Applying a Range to a Table.xml
To apply a range to a table while viewing a form or browse:
- Using a Session Variable in a Component
/pages/Ref/Api/Objects/Server/Sessions/Using a Session Variable in a Component.xml
A session variable will not evaluate directly in a component. However, you can add code on a A5W page that uses the component to use a session variable. If you look at the Xbasic tab when editing the page in the Web Component Builder, you will see a line like this if you have set a filter in the component.