You are not logged in.
Pages: 1
Hi,
i have a TMySQLRecord class with a property like this:
property Proprietari: TProprietari read FProprietari write FProprietari;
where TProprietari is
TProprietario = record
RagioneSociale: RawUTF8;
CodiceFiscale: RawUTF8;
Indirizzo: RawUTF8;
Comune: RawUTF8;
Cap: RawUTF8;
Telefono: RawUTF8;
end;
TProprietari = array of TProprietario;
i need to get all TSQLRecord IDs where TProprietario.CodiceFiscale is equal to aCodiceFiscale parameter.
i see RawUTF8DynArrayContainsNoCase function and i write this code but doesn't work. Maybe work only on TRawUTF8DynArray?
aClient.OneFieldValues(TMySQLRecord , 'ID', FormatUTF8('RawUTF8DynArrayContainsNoCase(Proprietari, ?)', [], [aCodiceFiscale]), IDs);
any other idea?
thanks
Offline
Pages: 1