Home > Class Reference > ENSLIB namespace > CSPX.SQLQueryForm


class CSPX.SQLQueryForm extends %Library.RegisteredObject, %CSP.Util.AutoForm

A simple login AutoForm class...


parameter DOMAIN = Ensemble;
Use our own domain for localization


property Query as %String (MAXLEN = 1000);
User name
Property methods: QueryDisplayToLogical(), QueryGet(), QueryIsValid(), QueryLogicalToDisplay(), QueryLogicalToOdbc(), QueryNormalize(), QuerySet()


classmethod CreateInstance(ByRef pID As %String) as %CSP.Util.AutoForm
Inherited description: Create an instance of the AutoForm object using the provided ID value(s). This is overridden by subclasses.
The default implementation will perform an OpenId if the AutoForm is a persistent object.
method OnSubmit(ByRef pID As %String, pSubmit As %String) as %Status
Inherited description: This callback is called when this form is submitted. pID is the ID value associated with the form. The default implementation will perform a Save if the AutoForm is a persistent object.
pSubmit is the name of the submit button (i.e., $AUTOFORM_SAVE).

Inherited Methods

%AddToSaveSet() %GetParameter() DispatchSubmit()
%ClassIsLatestVersion() %IsA() DoSubmit()
%ClassName() %IsModified() DrawFormButtons()
%ConstructClone() %New() DrawHTMLForm()
%DispatchClassMethod() %NormalizeObject() DrawHTMLTable()
%DispatchGetModified() %ObjectModified() GetComboBoxHTML()
%DispatchGetProperty() %OriginalNamespace() GetFormError()
%DispatchMethod() %PackageName() OnDefineButtons()
%DispatchSetModified() %RemoveFromSaveSet() ProcessSubmit()
%DispatchSetMultidimProperty() %SerializeObject() SetFormError()
%DispatchSetProperty() %SetModified() Submit()
%Extends() %ValidateObject()