Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Build the virtual join into the form
Applies to User Roles:
System Administrator
To build the virtual join into the form:
- Open the orders form (created in Create the orders form) in Forms Designer.
- Click Design.
- Select the Group tool and Frame tool to create a frame on the screen where you want the seller data to appear. Give it the caption/title Seller Data.
- Select the Label tool and create a label named Seller Code.
- Select the Comfill tool and create a fillable input field. This enables you to choose from a list of seller codes.
- In the Property box, do the following:
- Type code in the input value and 9 (fill) in the ButtonID field.
- Click Y to confirm the addition.
- Click OK to save changes to the form.
Subform placement
- Select the Subform tool.
- Position the cursor on the screen where you want to begin your virtual join, and then create a square where you want the virtually joined subform to appear.
-
In the Property box for the subform, type code in the Input field.
The input field value (code) is the same as the previous input field value, because a link needs to be established with the target file. The Virtual Join tool uses the link with the code key on the sales file to pull in the information requested by the sales1 form, namely values for the name and commission fields.
- Type sales1 in the Form field to indicate which form should appear in the subform area.
- Click Yes in the Virtual Join field of the Property box to activate the virtual join functions on the subform.
-
Click OK to save changes to the orders form.
Note: You cannot see the subform at this point. The subform data fields do not appear until you enter data through the Database Manager.
-
From the orders form, click More or the More Actions icon and then select Create file.
The Database Dictionary (dbdict) utility opens.
- Create an orders file in the database dictionary.
Type orders as the filename, and then click OK.
If the name is prepopulated with orders, click OK to confirm.
This creates a valid "orders" file. The dbdict record for it is now displayed in the System Definition Utility. In the Fields and Keys tab, you can look at field definitions and keys. It contains one key on field "customer.name," which is type "unique."
In the orders file, ensure there is a line for the code field at the bottom of the list. If there is not, in the Fields section click New Field, and then create a new character field called "code."
- Click Save to save your changes.
- Close the System Navigator to leave the System Navigator utility and return to Forms Designer.
Related concepts
Virtual joins
Understanding subforms
Forms Designer
Related tasks
Example: Creating a virtual join
Build the sales form
Create the sales file
Create the sales record list
Add data to the sales file
Create the sales1 subform
Create the orders form
Build the link
Use the virtual join
Verify that the sales1 form works
Related references