Solved

Delphi sql and binary fields

Posted on 2003-12-08
6
443 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
calling procedure inside activexForm from secondform 1 231
How to use Hashing sha1 in Delphi 2010 4 201
Help on project with Soap 10 48
tidtcpserver connection lost handle 2 70
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 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

20 Experts available now in Live!

Get 1:1 Help Now