property array sous delphi
Bonjour,
mon probleme est le suivant :
j'ai deux classes :1
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| msgLicClass = class(TRemotable)
private
FmsgCdTypLic: string1Type;
FmsgContLic: string80Type;
FmsgVatLicMc: int1Type;
public
constructor Create; override;
published
property msgCdTypLic: string1Type read FmsgCdTypLic write FmsgCdTypLic stored AS_ATTRIBUTE;
property msgContLic: string80Type read FmsgContLic write FmsgContLic stored AS_ATTRIBUTE;
property msgVatLicMc: int1Type read FmsgVatLicMc write FmsgVatLicMc stored AS_ATTRIBUTE;
end;
msgLicArray = array of msgLicClass; |
2:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
| inDemandeType = class(TRemotable)
private
FmsgLic : msgLicArray;
// FmsgLic : String_Array;
FmsgCdAction: string1Type;
FmsgCdBranche: string1Type;
FmsgCdCircuit: int4Type;
FmsgCdIntermed: string6Type;
FmsgCdNatCmc: int2Type;
FmsgCdOrigine: string1Type;
FmsgCdSite: string3Type;
FmsgCdStr: int2Type;
FmsgCdTrtInfo: string10Type;
FmsgCdTypDem: int4Type;
FmsgCdTypRcc: string2Type;
FmsgCdUntOff: string6Type;
FmsgComment: string10000Type;
FmsgDateRecep: string;
FmsgHeureRecep: string;
FmsgNbCag: int1Type;
FmsgNbCle: int1Type;
FmsgNbCli: int1Type;
FmsgNbFam: int1Type;
FmsgNbInt: int1Type;
FmsgNbLic: int1Type;
FmsgNbRcc: int1Type;
FmsgNbRefFonc: int1Type;
FmsgNbTyd: int1Type;
FmsgNbVcr: int1Type;
FmsgNbdoc: int1Type;
FmsgNbres: int1Type;
FmsgNuRcc: string16Type;
FmsgTopAffGest: string1Type;
FmsgTopDebug: string1Type;
FmsgTopMajLic: string1Type;
FmsgVatixint: int1Type;
FmsgVatixrcc: int1Type;
FmsgVatixtyd: int1Type;
public
constructor Create; override;
destructor Destroy; override;
published
property msgLic:msgLicArray read FmsgLic write FmsgLic;
property msgCdAction: string1Type read FmsgCdAction write FmsgCdAction stored AS_ATTRIBUTE;
... |
mon besoin est de récupérer l'ensemble des données de ma premier classe dans une variable
Code:
property msgLic:msgLicArray read FmsgLic write FmsgLic;
de la deuxième
comment faire svp
Cordialement,