RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterNamedField.GetRequired Method

Indicates whether the end-user must enter a value for this adapter field.

Pascal
function GetRequired: Boolean;
C++
__fastcall Boolean GetRequired();

This function returns true or false to indicate whether a value must be entered by the end user before submitting a form. The value returned by this function can be accessed with server-side script using the Required property. Typically, this function is called while executing an adapter action that validates field values. The adapter action component will raise an exception if the value of the submitted field is empty. GetRequired calls ImplGetRequired

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!