Prompt for a Filter Expression
/documentation/pages/Guides/Desktop/Design/Prompt/Prompt for a Filter Expression.xml
The Prompt for a Filter Expression action will prompt the user for a character filter expression. This type of expression evaluates to a logical value and selects records from the table.
Creating and Using a Conditional Object
/documentation/pages/Guides/Desktop/Design/View/Form/Creating and Using a Conditional Object.xml
A conditional object is a multi-level rectangular frame used to conditionally display and hide groups of objects. Conditional objects behave like tabbed objects, except that instead of tabs, each page is automatically selected by Alpha Anywhere based on the expressions you enter. A page is selected when the expression evaluates to TRUE. If no expression evaluates to true, the default page is shown.
Searching the Text Fields of a Record
/documentation/pages/Guides/Desktop/Design/Data/DBF/Searching the Text Fields of a Record.xml
The following script shows how to search the text fields of a record to see if they contain a match to a character search value. This illustration uses the Customer table of the AlphaSports sample database. A new form named New_Customer contains a tabbed control with two pages. The first page contains a text field that sets the value of a global variable named var->search_word.
Creating and Using a Multi-state Button
/documentation/pages/Guides/Desktop/Xdialog/Controls/Buttons/Creating and Using a Multi-state Button.xml
The MULSTBTN1 multi-state button presents a simple way to limit the Browse1 list to those records where the SearchBy field begins with the selected letter.
Adding a File to a Project
/documentation/pages/Server/Guide/Design/View/Adding a File to a Project.xml
If you want to use static images (e.g. images not from your database) or other types of files in your web project, you will first have to add them to your project. This particular image will be required for later exercises.
Publishing a Page to a Server
/documentation/pages/Server/Guide/Design/View/Grid/Publishing a Page to a Server.xml
The following is a step by step example of publishing a page and associated data files to a server, and then viewing the published page.
Putting a Conditional Sub-report on a Letter
/documentation/pages/Guides/Desktop/Design/View/Letter/Putting a Conditional Sub-report on a Letter.xml
The following example shows how to put a sub-report, which containing variable content, on a letter only when specific conditions are met. The first step is to define the sub-report, which in this case is named "foursomes". This sub-report displays the data from the table FOURSOMES, which is sorted by the foursome field. The result is the firstname and lastname fields from the records that have the same foursome value.
Adding a File to a Web Project
/documentation/pages/Server/Guide/Design/View/Adding a File to a Web Project.xml
Web publishing applications only. In common practice, the files that you add to projects will be images and previously created HTML pages.
Creating and Assigning a Startup Form
/documentation/pages/Guides/Desktop/Design/View/Form/Creating and Assigning a Startup Form.xml
The term Startup Form refers to the form which automatically appears when a workspace is opened. You can use any form from any table or set as a Startup Form.
Retrieving a Pointer to a Control
/documentation/pages/Guides/Xbasic/Retrieving a Pointer to a Control.xml
There are several ways to get the pointer to the control. The first way is to use the .CHILD() method and name the control. These examples refer to a button control, but other types of controls work the same way.