To continue with this content, please log in with your Data Access ID or create a new account.
Cancel Data Access ID
You may not be authorized to see this content. Please contact Data Access Europe for more information.
Cancel Data Access Europe
You are not authorized to see this content.
Cancel Data Access Europe
Next lesson:
Create a Media Zoom View
Cancel

Quickstart building a web application (Web/Mobile)

Lesson 6: Create a Person Select View

Now that the Zoom View is created we can create the Select View. The Select View is needed to get into the Zoom View. In this lesson we’re going to create the Person Select View.

  1. Click Create New… and select the Mobile Select Wizard.

  2. The first two pages of the wizard give some information about the wizard. Click Next.
  3. Enter for the object name oSelectPerson and for the file name SelectPerson. Change the description to Persons.

  4. On the next page of the Wizard select Person as the main Table.
  5. On the next page select the Entry Fields. In this Quickstart we just select these three Fields:
    - LastName
    - FirstName
    - City

  6. In the next step we can set up navigation options from the Select View, we can choose between main zoom, which means that it will go from the select view to a single zoom view. Child select, which means that it will go from this select view into another select view. Or both, which will provide both navigation options. Select both.

  7. Although we selected ‘both’ we will create one right now and implement the other one later.
  8. Click on the button in Navigate to Zoom View and choose ZoomPerson.

  9. On the next page we can change the layout of the Select View. Check the checkbox for City, that means it will be on another line than LastName and FirstName. 
  10. Make the span for City 2, so it will span both FirstName and LastName. 
  11. Change the style of LastName and FirstName to Caption and the style of City to Detail.

  12. Click Adjust and Display for a preview.

  13. Finish the wizard.
  14. The generated code is shown.
  15. Run the Application by clicking the Run button or F5.
  16. Sign in with Admin, Admin.
  17. Go to the menu. Under View it now shows Persons.

  18. The database has no data yet. Add a new record, by clicking the New button.

  19. Enter this information:
    - Last name: Wibier
    - First name: Harm
    - Address: Lansinkesweg 4
    - Zip: 7553 AE
    - City: Hengelo

  20. Save the record.
  21. A single record has been created.

  22. Create another record with this information:
    - Last name: Meeley
    - First name: Stephen
    - City: Richmond
  23. Save the record.
  24. Add another record:
    - Last name: Tuohy
    - First name: John
    - City: San Diego
  25. Save the record.
  26. As you can see, the application now has three records.

  27. Click on the info button to open an existing record.

  28. The record comes up in read only mode.

  29. To edit the record click the edit button.
  30. This finishes the creation of the Select View.