Computing.Net > Forums > Database > Paradox 9 BLOB Field MS Access 2003

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Paradox 9 BLOB Field MS Access 2003

Reply to Message Icon

Name: rarivera53
Date: October 16, 2009 at 07:30:16 Pacific
OS: Windows XP Home
CPU/Ram: unknown
Product: Dell / UNKNOWN
Subcategory: General
Comment:

Our agency maintains a Paradox 9 security database. Within this database is table (with 1311 records) which contains demographic data for all employees. One of the fields on this table is BLOB field which contains a photo of the employee.

We are trying to migrate the data from this Paradox table to a new MS Access 2003 database.

The data is able to be exported from Paradox; however, the new MS Access table is minus the BLOB field.

Is there a practical way to move the contents of the Paradox BLOB field, en masse, to the new MS Access table?

Thanks for any help.



Sponsored Link
Ads by Google

Response Number 1
Name: Kevin Millican
Date: October 24, 2009 at 14:06:02 Pacific
Reply:

It's fairly easy to write an ObjectPAL script to run through the file and save all the images to disk as <key field value>.BMP
Then you would need something in Access to perform the reverse process.

Eg. a simplified version of the routine I use for this purpose is here (this needs a folder called export in the work directory) :-

method run(var eventInfo Event)
var
mytc tcursor
s string
f graphic
fs filesystem
endvar

mytc.open("welderid.db")

scan mytc :
if mytc.photo.isblank() then
message("No photo")

else
s="export\\"+mytc.name+".bmp"

if isfile(s) then
message(s+" already exists")
else
f=mytc.photo
f.writetofile(s)
message("Saved "+s)
endif

endif

endscan

mytc.close()
endMethod



0
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Paradox 9 BLOB Field MS Access 2003

MS Access 2003 & Time Query www.computing.net/answers/dbase/ms-access-2003-amp-time-query/90.html

MS Access Data Entry Complexity www.computing.net/answers/dbase/ms-access-data-entry-complexity/203.html

How to merg fields in MS Access www.computing.net/answers/dbase/how-to-merg-fields-in-ms-access/461.html