[Top] [Prev] [Next] [Bottom]
[Contents]
colspecFCheck
colspecFCheck (Framework master and Data Control)
colspecFCheckN (for detail where N is required and is the
detail number)
Definition
A string specifying a field validation operation. Field validation operations are applied to the column values of a row set before they are sent to a server process for insert and delete operations. If any field check fails for any value of a column, the operation is prevented and a "human" understandable message is displayed.
This parameter works with both the master view and the detail views.
Parameter Name
In both cases, the colspec must be replaced with valid column specification.
You can use either of these two methods:
The following two examples show a field check param name using the two colspec methods:
<param name="au_idFCheck2" ...
and
<param name="col0FCheck2" ...
Both are set for detail number two.
Parameter Value
The value for this parameter also has two formats.
The following two examples show a field check param value using the two value spec methods:
<param ... value="SaC.SSN" >
and
<param ... value="SaC.Pattern=### ###-####" >
The first uses a check to see if the data input by the user is in a valid Social Security Number format using the SaC.SSN class. The second checks that the data entered by the user is in the format of the pattern specified after the = character. This example is a phone number with area code. It uses the class SaC.Pattern, which takes a pattern parameter.
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.