Diferencia entre revisiones de «TpAUX CAMPO CONSTRAINT unit»

De Pragma Wiki
Ir a la navegación Ir a la búsqueda
(Página creada con «=Descripción= El objeto '''TpAUX_CAMPO_CONSTRAINT_unit''' (Constricciones de campos) procesa los auxiliares de tipo '''CONSTRAINT''', ver detalles en DEV AUXILIARES/CONSTRAINT. =Identidad= Category:MANUAL/PROGRAMADOR Category:AUXILIARES *Ancestro: TComponent *Carpeta: C:\DevelopPrx\pPRAGMA *Archivo: pAUX_CAMPO_CONSTRAINT_unit.pas =Declaración= <pre> </pre>»)
 
Línea 11: Línea 11:
=Declaración=
=Declaración=
<pre>
<pre>
type
  TpAUX_CAMPO_CONSTRAINT_unit = class(TComponent)
  private
    FDataSet: TDataSet;
    FClase: String;
    FCampo: String;
    FQuery: TprxADOQuery;
    FSQL_COMANDO: TStringList;
    FSQL_COMANDO_SELECT: TStringList;
    FSQL_MENSAJE: TStringList;
    FPrepared: Boolean;
    FTipo: String;
    FEsSQL: Boolean;
    FTag_Porcentaje100: Boolean;
    FSolucion: String;
    FItems: TStringList;
    FMinimo: Variant;
    FMaximo: Variant;
    FMensaje: String;
  protected
    property    SQL_COMANDO: TStringList read FSQL_COMANDO write FSQL_COMANDO;
    property    SQL_MENSAJE: TStringList read FSQL_MENSAJE write FSQL_MENSAJE;
    property    EsSQL: Boolean read FEsSQL;
    property    Tag_Porcentaje100: Boolean read FTag_Porcentaje100;
    property    Minimo: Variant read FMinimo;
    property    Maximo: Variant read FMaximo;
  public
    constructor Create(AOwner: TComponent); override;
    destructor  Destroy; override;
    function    EsTipo_ENUMERACION: Boolean;
    function    EsTipo_FILTRO: Boolean;
    function    EsTipo_LIMITE: Boolean;
    function    Exists: Boolean;
    function    Prepare: String;
    function    Validate(var aMsg: String): Boolean;
    property    DataSet: TDataSet read FDataSet write FDataSet;
    property    Clase: String read FClase write FClase;
    property    Campo: String read FCampo write FCampo;
    property    Query: TprxADOQuery read FQuery write FQuery;
    property    Prepared: Boolean read FPrepared;
    property    Solucion: String read FSolucion;
    property    Items: TStringList read FItems;
    property    Mensaje: String read FMensaje;
    property    SQL_COMANDO_SELECT: TStringList read FSQL_COMANDO_SELECT write FSQL_COMANDO_SELECT;
  published
  end;
</pre>
</pre>

Revisión del 01:11 19 may 2025

Descripción

El objeto TpAUX_CAMPO_CONSTRAINT_unit (Constricciones de campos) procesa los auxiliares de tipo CONSTRAINT, ver detalles en DEV AUXILIARES/CONSTRAINT.

Identidad

  • Ancestro: TComponent
  • Carpeta: C:\DevelopPrx\pPRAGMA
  • Archivo: pAUX_CAMPO_CONSTRAINT_unit.pas

Declaración

type
  TpAUX_CAMPO_CONSTRAINT_unit = class(TComponent)
  private
    FDataSet: TDataSet;
    FClase: String;
    FCampo: String;

    FQuery: TprxADOQuery;
    FSQL_COMANDO: TStringList;
    FSQL_COMANDO_SELECT: TStringList;
    FSQL_MENSAJE: TStringList;
    FPrepared: Boolean;
    FTipo: String;
    FEsSQL: Boolean;
    FTag_Porcentaje100: Boolean;

    FSolucion: String;
    FItems: TStringList;
    FMinimo: Variant;
    FMaximo: Variant;
    FMensaje: String;
  protected
    property    SQL_COMANDO: TStringList read FSQL_COMANDO write FSQL_COMANDO;
    property    SQL_MENSAJE: TStringList read FSQL_MENSAJE write FSQL_MENSAJE;

    property    EsSQL: Boolean read FEsSQL;
    property    Tag_Porcentaje100: Boolean read FTag_Porcentaje100;
    property    Minimo: Variant read FMinimo;
    property    Maximo: Variant read FMaximo;
  public
    constructor Create(AOwner: TComponent); override;
    destructor  Destroy; override;

    function    EsTipo_ENUMERACION: Boolean;
    function    EsTipo_FILTRO: Boolean;
    function    EsTipo_LIMITE: Boolean;

    function    Exists: Boolean;
    function    Prepare: String;
    function    Validate(var aMsg: String): Boolean;

    property    DataSet: TDataSet read FDataSet write FDataSet;
    property    Clase: String read FClase write FClase;
    property    Campo: String read FCampo write FCampo;

    property    Query: TprxADOQuery read FQuery write FQuery;
    property    Prepared: Boolean read FPrepared;

    property    Solucion: String read FSolucion;
    property    Items: TStringList read FItems;
    property    Mensaje: String read FMensaje;

    property    SQL_COMANDO_SELECT: TStringList read FSQL_COMANDO_SELECT write FSQL_COMANDO_SELECT;
  published
  end;