[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 466
  • Last Modified:

Delphi sql and binary fields

Delphi with Sql server 7.0

How I can set(Get) an excel file (xls) in binary field(sql);
(I use from ADO)
best regards
0
fhbexpir
Asked:
fhbexpir
  • 2
1 Solution
 
kretzschmarCommented:
i would guess (have no sql-server)

Dataset.Edit;
TBlobField(Dataset.FieldByName('FieldNameHere')).LoadFromFile('PathFileNameHere.xls');
Dataset.Post;

meikl ;-)
0
 
fhbexpirAuthor Commented:
thanks
But not worl correctly
0
 
ThoseBugCommented:
it work's for me thank you kretzchmar...
TB.
0
 
kretzschmarCommented:
hu, just forgotten this q,

what does not work correctly, fhbexpir?

glad that it works for you, thosebug :-))

meikl ;-)
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now