Re: Basics
- From: "Andrei \"Ndi\" Dobrin" <nospam@xxxxxxxxxx>
- Date: Mon, 28 Jul 2008 14:19:02 +0300
I can't really get it to work. The blob stream refuses to give me any data -
it creates fine but .Read() always returns zero, as do size and position.
I think I'm doing it wrong.
This is the declaration of the table:
CREATE TABLE foto
(
sfoto serial NOT NULL,
nrusercard character(7) DEFAULT ''::bpchar,
data timestamp without time zone DEFAULT now(), -- Asta este data+ora
fisierului jpg (din adir)
poza bytea,
CONSTRAINT pk_sfoto PRIMARY KEY (sfoto)
)
--
As an afterthought, doesn't all this depend on the driver? Doesn't ADO need
a provider? Maybe mine's broken or something. What did you use to get blobs
out of postgres (8.2 here) ?
--
Ndi
.
- Follow-Ups:
- Re: Basics
- From: yannis
- Re: Basics
- References:
- Basics
- From: Andrei \"Ndi\" Dobrin
- Re: Basics
- From: Bill Todd [TeamB]
- Re: Basics
- From: Andrei \"Ndi\" Dobrin
- Re: Basics
- From: yannis
- Re: Basics
- From: Andrei \"Ndi\" Dobrin
- Basics
- Prev by Date: Re: Basics
- Next by Date: Re: ISSUE WITH TADODataSet
- Previous by thread: Re: Basics
- Next by thread: Re: Basics
- Index(es):