All is going well, but I cannot figure out how to write to the varbinary field.
How do I do this with SDAC?
Thanks!

Code: Select all
var
Values: variant;
begin
Values := VarArrayCreate([0, 4], varByte);
// Fill array
MSQuery.Insert;
MSQuery.FieldByName('c_varbinary').Value := Values;
MSQuery.Post;
end;