Viewing OLE-object field

Viewing OLE-object field

am 23.05.2005 13:35:08 von Michele Castellucci

Hi,
i want to view an OLE-object field (inside an Access database) in my HTML
pages with ASP (or PHP..think it's the same).
I don't know how can I do this...
I obtain the value of the record trough the recordset

recordset.Fields('photo').value

but I don't know how can I use this...

Sorry for my English

Re: Viewing OLE-object field

am 28.05.2005 21:25:37 von Jon

The best way to do this if you want to keep reusing this value is to declare
a variable and assign it like this:

dim myVar
Var = recorsed.Fields('photo').value

then you can assign this value to an object or write it on the page, example

assign to a text box


>


write it to the page

Response.Write (myVar)

And PHP is different to ASP.

Hope this helps

Jon
warpedpixel@gmail.com
Look at that dead pixel on your screen! *SLAP* Gotcha!