realbasic-nug
[Top] [All Lists]

Sorting Images on Database

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Sorting Images on Database
From: Chris Hoyt <ihoyt at mac dot com>
Date: Wed, 30 Jul 2003 15:59:39 -0500
Alright, I have tried everything. Does anyone know how to save and retrieve image file from a database. I have tried both JPEGColumn and MacPictColumn and neither work.

I have used the following method to store a JPEG into my Database:

pictureRecord.JPEGColumn("FILE_DATA") = p
// p is a picture already loaded, I know that it has load properly

And then this to recall it:

p = pictureFind.Field("FILE_DATA").JPEGValue

I have an OpenBase Database, have tried setting the column to every type including "object", "char", "binary".


---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
.


<Prev in Thread] Current Thread [Next in Thread>