OLE Object (Bitmap Image) Type?
From: JohnG (JohnG_at_discussions.microsoft.com)
Date: 10/11/04
- Next message: JohnE: "sql syntax error"
- Previous message: Dennis: "Re: Bizarre VARIANT behavior"
- Next in thread: Stephen Lebans: "Re: OLE Object (Bitmap Image) Type?"
- Reply: Stephen Lebans: "Re: OLE Object (Bitmap Image) Type?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 11 Oct 2004 11:13:04 -0700
Hi
I am having trouble returning a bitmap image from a field stored in my
database. The field's Tpye is a OLE Object and it holds a Bitmap Image, Im
trying to display the image on a Form after it has been retrieved using the
Dlookup funtion I've tried to assign a variable (rtImage)with various object
types with no joy. I keep getting a Tpye mismatch error message when I try to
link the field.
for instance:
Dim rtImage As Long
rtImage = DLookup("Product_Name", "[Main _ products]", "Product_Image =" &
Me.OpenArgs)
can Anyone help?
Thanks John
- Next message: JohnE: "sql syntax error"
- Previous message: Dennis: "Re: Bizarre VARIANT behavior"
- Next in thread: Stephen Lebans: "Re: OLE Object (Bitmap Image) Type?"
- Reply: Stephen Lebans: "Re: OLE Object (Bitmap Image) Type?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|