Configuring a Special View Record Page

You cannot view the selected record because the underlying View button or icon is not yet bound to a View Record page. The table that contains the record you are trying to view is either a non-physical table (i.e. a View or a Query), or has no primary key. However, you can still create a View button for it by binding the View Icon and providing a Primary Key from a referenced physical table.

This will enable you to view a record from one of the referenced physical tables. For example, you could bind the View Icon for the 'Alphabetical list of products' view from the Northwind database so that it displayes a Products record for viewing.

To bind the View button or icon to a View Record page:

  1. If you have not yet created a View Record page, use the Application Wizard to create one.

  2. Go to the Application Explorer tab, navigate in the tree to the page that contains the View button or icon, then click the Properties button on the tool bar.

    • Select the name of the View button or icon in the tree.
    • On the Bindings tab, modify the Redirect URL to point to your View Record page.
      Example: ../MyPages/MyViewRecordPage.aspx?QueryStringParam={0}

    • The Redirect parameter should reference the field that is a Primary Key for an associated physical table.
      Example: "FV:ProductID"

  3. Save changes and rebuild the application.