spacer
neatComponents: website development system

Search 
spacer
spacer
Previous pageThe Guide Next page
Defining Views 

The Query itself provides designers with four ways of quickly defining how query results are displayed on a page - others views are available as individual Components:

  • Table
  • CSV
  • Custom
  • Query by Example

The simplest is the Table view, but the most commonly used is the Custom View as it gives the designer full control over how the page is displayed.

The Views control is accessed from the Views-tab of the Query. Select the tab, and then:

Mouse over the floating Toolbox and select [Custom View].

A text Editor window will open. Set the cursor on the page then select theEmbed Item tool.

The Embed Item - Dialog will open. Select [x] Other , and then Select the Field that you want to display on the website.

In the Example to the right, the First Name and Last Name fields have been positioned, and the Email Address field has been selected to be embedded.


Click [Finish] to complete each embed.  This completes the creation of the Query.

Now let's complete the process by embedding the output on the website.


More information

The default View is the Table-view. Selecting Table in the tree in the left panel will allow you to format the way the Query-results are displayed. You can select whether or not the Title is shown on the table at the Title checkbox. You can format the Style of table cells and table rows from the [...] controls - rows can be alternately styled (odd/even). The Table-view can be previewed in the dialog - clicking the [Update] button refreshes the preview.

The Table output is also available in a comma separated value - CSV format: For example:

"First Name","Last Name","Email Address",
"Ann","Able",ann@mydomain.com,
"Ben","Baker",ben@baker.com,
"Chuck","Charles",chuck@charles.com,


spacer
A first site 
spacer