Diferencia entre revisiones de «TpAUX CAMPO ASIGNACION unit»
Ir a la navegación
Ir a la búsqueda
Sin resumen de edición |
|||
| Línea 63: | Línea 63: | ||
end; | end; | ||
</pre> | </pre> | ||
=Implementación= | |||
Revisión del 16:41 22 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
const
TpAUX_CAMPO_ASIGNACION_ONENTER = 'ONENTER';
TpAUX_CAMPO_ASIGNACION_ONEXIT = 'ONEXIT';
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;