2 - Create Forms
Last updated 26/05/2025
This documentation will explain the forms you will need to create using the new tables you added in the Portfolio application. With these forms, you will see how to position the forms under a parent menu to understand how Five filters the data for you.
Navigate to the Form Wizard
1. Click Visual in the menu.2. Click Form Wizard in the sub-menu.

Add the Buys Form
The Portfolios menu will become the parent for the Buys menu. By making Portfolios the parent menu, the Buys menu will be accessed in the Portfolio application under a selected portfolio record, hence the buy records will be filtered to the selected portfolio record.
1. Click the lookup icon in the Main Data Source field and select Buy.2. Click the lookup icon in the Parent Menu field and select Portfolios.

3. Click the Next button.

4. Click the List checkbox for the StockKey field.
5. Click the List checkbox for the TransactionDate field.
6. Click the List checkbox for the Quantity field.
7. Click the List checkbox for the Total field.

8. Click the Save button in the Form Wizard app bar.

Add the Sells Form
The Portfolios menu will also a parent to the Sells menu.
1. Click the lookup icon in the Main Data Source field and select Sell.
2. Click the lookup icon in the Parent Menu field and select Portfolios.

3. Click the Next button.

4. Click the List checkbox for the StockKey field.
5. Click the List checkbox for the TransactionDate field.
6. Click the List checkbox for the Quantity field.
7. Click the List checkbox for the Total field.

8. Click the Save button in the Form Wizard app bar.

Add the Allocations Form
1. Click the lookup icon in the Main Data Source field and select Allocation.2. Click the Add Menu Item switch.

3. Click the Next button.

4. Click the List checkbox for the BuyKey field.
5. Click the List checkbox for the Quantity field.

6. Click the Save button in the Form Wizard app bar.

Navigate to Forms
We will need to go to the Forms view so that we can edit the Sells form to add an Allocations page. This will enable us to allocate shares for a sale.
1. Click Visual in the menu.2. Click Forms in the sub-menu.

Edit the Sells Form
1. Select the Sells record in the list.2. Either click the Edit button in the form app bar, or click directly in the Page Navigation field.

3. Click the lookup icon in the Page Navigation field and select Continuous.

4. Click the Pages tab.

5. Click the Add Pages button.

6. Type Allocations in the Caption field.
7. Click the lookup icon in the Page Type field and select List.
8. Click the lookup icon in the Action field and select Allocations (Form).

9. Click the Save button in the form app bar.

10. Click the Save button in the form app bar above the list.

Deploy the Portfolio Application
1. Click the Deploy to Development or Run button in Five's toolbar.

Test the Buys Form
To navigate to the Buys view, a Portfolio record needs to be selected in the list for the Down button to be available which will take you to the menus under the selected Portfolio record.
1. Select the Growth Portfolio record.2. Click the Down button in the form app bar.

As the Portfolios menu was set as the parent for the Buys and Sells menus, you will only see the data related to the selected Portfolio record when drilling down.
1. Click the Add Item button.
2. Click the lookup icon in the Stock field and select AEI.
3. Click the calendar icon in the Transaction Date field.

4. Select today's date and click the OK button.

5. Type 100 in the Quantity field.
6. Type .50 in the Price field.
7. Type 10.00 in the Fees field, press Tab.

8. Click the Cancel button in the form app bar.

9. Close the browser tab and return to Five.