You are not logged in.
Pages: 1
I have a TSQLRecord derived class, which has a TRawUTF8List field.
TConfig = class(TSQLRecord)
private
FExcludedMACList: TRawUTF8List;
public
constructor Create;
destructor Destroy; override;
published
property ExcludedMACList: TRawUTF8List read FExcludedMACList write FExcludedMACList;
end;
I tried to save it to a static object list db, but the TRawUTF8List field always saves as "null". Is there something wrong?
Offline
I guesss it is because your constructor is not correct: you did hide the TSQLRecord constructor - you need to make it override.
I am almost certain their is a compiler message about it.
Please fix all compiler error messages at first.
Offline
@ab - you are right! After making the constructor override, everything works!
Offline
Pages: 1