|
|
Example 1 Name and Address FormKey Benefits
Usage of pwPage Example 1 Name and Address Form The table definition, as show below the example form, has defined Name and Company as the primary key. Review: Using entirely blank values for these keys will retrieve all table values when using the Review function. Which fields are output is defined by use of the hidden review field and associated values. Any rowid of any resulting output from use of the Review function can be clicked, which will select the associated table row for subsequent processing. Any portion of the leftmost part of key values can be entered for Review retrieval as pwPage will wildcard the remaining portion. Select: pwPage table row selection requires entry of the fully qualified key(s) for unique table rows. Assuming the row key(s) were entered properly and that the row does exist, normal response should be a fully populated form with current row contents. Insert: pwPage expects and requires that each table row be defined with unique keys hence inserting duplicate fully qualified key entries will/should fail. Using pwPage against a table containing non-unique rows would compromise the integrity of pwPage processing logic and is not supported. Update: Enter the fully qualified key for the row to be updated. Although prior selection is not required, you will typically use either the Select or Review function to select the row to be updated to insure that row contents are what you expect them to be prior to making changes with the Update function. The Update function will automatically retrieve the updated table row with the Select function as a means of confirmation of updated row contents. Normal response should be a fully populated form with current row contents. Delete: Enter the fully qualified key for the row to be updated. Although prior selection is not required, you will typically use either the Select or Review function to select the row to be deleted to insure that row contents are what you expect them to be prior to deletion. The Delete function will automatically "attempt" to retrieve the deleted table row with the Select function as a means of confirmation that the deleted row no longer exists. Normal response should be a blank form.
|
Copyright © 1996 - 2000 Phil Welch. All Rights Reserved. Last modified: September 10, 2000 |