• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 467
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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