Diferencia entre revisiones de «TpAUX CAMPO ASIGNACION unit»
Ir a la navegación
Ir a la búsqueda
(Página creada con «=Descripción= El objeto '''TpAUX_CAMPO_ASIGNACION_unit''' (Asignación de valores) procesa los auxiliares de tipo '''ASIGNACION''', ver detalles en DEV AUXILIARES/ASIGNACION. =Identidad= Category:MANUAL/PROGRAMADOR Category:AUXILIARES *Ancestro: TComponent *Carpeta: C:\DevelopPrx\pPRAGMA *Archivo: pAUX_CAMPO_ASIGNACION_unit.pas =Declaración= <pre> </pre>») |
|||
| Línea 11: | Línea 11: | ||
=Declaración= | =Declaración= | ||
<pre> | <pre> | ||
type | |||
TpAUX_CAMPO_ASIGNACION_unit = class(TComponent) | |||
private | |||
FDataSet: TDataSet; | |||
FClase: String; | |||
FCampo: String; | |||
FQuery: TprxADOQuery; | |||
FSQL_COMANDO: TStringList; | |||
FSQL_COMANDO_SELECT: TStringList; | |||
FTag_Estadistica: Boolean; | |||
FTag_Porcentaje100: Boolean; | |||
FTag_Evento: String; | |||
FTag_OnPost: Boolean; | |||
FTag_ValorNulo: Boolean; | |||
FItems: TStringList; | |||
protected | |||
property SQL_COMANDO: TStringList read FSQL_COMANDO write FSQL_COMANDO; | |||
property Tag_Estadistica: Boolean read FTag_Estadistica; | |||
property Tag_Porcentaje100: Boolean read FTag_Porcentaje100; | |||
property Tag_Evento: String read FTag_Evento; | |||
property Tag_OnPost: Boolean read FTag_OnPost; | |||
property Tag_ValorNulo: Boolean read FTag_ValorNulo; | |||
function Exec_FieldAssignEstadistica(aCampo: String; aSQL: TStringList): Variant; | |||
function Exec_FieldAssignPorcentaje100(aCampo: String; aSQL: TStringList): Double; | |||
public | |||
constructor Create(AOwner: TComponent); override; | |||
destructor Destroy; override; | |||
function Procesar(aEvento: String; aOnPost: Boolean = False): Boolean; | |||
function ProcesarPost: 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 Items: TStringList read FItems; | |||
property SQL_COMANDO_SELECT: TStringList read FSQL_COMANDO_SELECT write FSQL_COMANDO_SELECT; | |||
published | |||
end; | |||
</pre> | </pre> | ||
Revisión del 00:10 19 may 2025
Descripción
El objeto TpAUX_CAMPO_ASIGNACION_unit (Asignación de valores) procesa los auxiliares de tipo ASIGNACION, ver detalles en DEV AUXILIARES/ASIGNACION.
Identidad
- Ancestro: TComponent
- Carpeta: C:\DevelopPrx\pPRAGMA
- Archivo: pAUX_CAMPO_ASIGNACION_unit.pas
Declaración
type
TpAUX_CAMPO_ASIGNACION_unit = class(TComponent)
private
FDataSet: TDataSet;
FClase: String;
FCampo: String;
FQuery: TprxADOQuery;
FSQL_COMANDO: TStringList;
FSQL_COMANDO_SELECT: TStringList;
FTag_Estadistica: Boolean;
FTag_Porcentaje100: Boolean;
FTag_Evento: String;
FTag_OnPost: Boolean;
FTag_ValorNulo: Boolean;
FItems: TStringList;
protected
property SQL_COMANDO: TStringList read FSQL_COMANDO write FSQL_COMANDO;
property Tag_Estadistica: Boolean read FTag_Estadistica;
property Tag_Porcentaje100: Boolean read FTag_Porcentaje100;
property Tag_Evento: String read FTag_Evento;
property Tag_OnPost: Boolean read FTag_OnPost;
property Tag_ValorNulo: Boolean read FTag_ValorNulo;
function Exec_FieldAssignEstadistica(aCampo: String; aSQL: TStringList): Variant;
function Exec_FieldAssignPorcentaje100(aCampo: String; aSQL: TStringList): Double;
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
function Procesar(aEvento: String; aOnPost: Boolean = False): Boolean;
function ProcesarPost: 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 Items: TStringList read FItems;
property SQL_COMANDO_SELECT: TStringList read FSQL_COMANDO_SELECT write FSQL_COMANDO_SELECT;
published
end;