?
Solved

Delphi sql and binary fields

Posted on 2003-12-08
6
Medium Priority
?
460 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month10 days, 23 hours left to enroll

770 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