I am not quite sure whether the following code will give me any problems with existing records as I move from Delphi6 to DelphiXE.
I store a checksum using
qryUpdate.SetVariable('CHECKVAL',anAnsiString);
in my database to make sure that a file system file has not changed.
This is the relevant retrieval snippet
var
MD5Str: AnsiString;
begin
if (MD5Str qryValidate.FieldAsString('IMG_CHECK_VAL')) then
I am not certain how DOA / DelphiXE will handle this conversion and comparison as there is no equivalent
FieldAsAnsiString that I could find.
I store a checksum using
qryUpdate.SetVariable('CHECKVAL',anAnsiString);
in my database to make sure that a file system file has not changed.
This is the relevant retrieval snippet
var
MD5Str: AnsiString;
begin
if (MD5Str qryValidate.FieldAsString('IMG_CHECK_VAL')) then
I am not certain how DOA / DelphiXE will handle this conversion and comparison as there is no equivalent
FieldAsAnsiString that I could find.
Last edited: