Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to load and read Word doc from the Blob field

Posted on 2002-07-11
2
Medium Priority
?
152 Views
Last Modified: 2010-04-04
My problem is that when I try to read TBlobStream with CopyFrom property into TFileStream, I see in the file also object decription header from MS Access. Notice: I'm using mdb database and I'm feeding its tables under Access control (maybe it has some importance to the problem). How to receive valid doc or xls files from the Blob field?
0
Comment
Question by:Skorup
[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 Comments
 
LVL 22

Accepted Solution

by:
Mohammed Nasman earned 600 total points
ID: 7146092
Hello

  it's easier to use LoadFromFile, and SaveToFile methods, to store and reteitrve the BLob files to and from the database

but you have to add the fields to field editor first, and every thing will work

// to save the file to the db
  Table1BlobFile.LoadFromFile(OpenDialog1.FileName);
// to load the file from db
  Table1BlobFile.SaveToFile(SaveDialog1.FileName);

and how us some of ur code to see where's the problem

Best regards
0
 

Expert Comment

by:CleanupPing
ID: 9343072
Skorup:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

636 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