Hello, I'm trying to use the "LoadFromFile" function on Delphi to get the files inside the "FileUpload" component to save on a "ftBlob" field on the database.
Here's my code:
CDS_CADASTRO.FieldByName('ARQUIVO_BIN').SetFieldType(ftBlob);
(CDS_CADASTRO.FieldByName('ARQUIVO_BIN') as TBlobField).LoadFromFile("ComponentName"."WHAT SHOULD GO HERE?");
But it's not working... help again ?