Solved

Delphi sql and binary fields

Posted on 2003-12-08
6
441 Views
Last Modified: 2010-04-05
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
Comment
Question by:fhbexpir
  • 2
6 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 125 total points
ID: 9897393
i would guess (have no sql-server)

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

meikl ;-)
0
 

Author Comment

by:fhbexpir
ID: 9901847
thanks
But not worl correctly
0
 
LVL 3

Expert Comment

by:ThoseBug
ID: 9943542
it work's for me thank you kretzchmar...
TB.
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 9943711
hu, just forgotten this q,

what does not work correctly, fhbexpir?

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

meikl ;-)
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now