|
-
Jan 21st, 2002, 03:40 PM
#1
Thread Starter
Junior Member
Animation in Access
Hey --
I'm trying to create a form that displays a different animated gif for each record. Its based off a Table who's field ("lightbulb") has a Data Type of "OLE Object." I also have the ActiveX control for Gif89 Class loaded. From the code below, the form displays the gif but it is not animated. I then get the error: Object Required for line "Set objGif = MyDB.TableDefs(Table!Tips_Table!Lightbulb)". Any help on this is greatly appreciated.
Thanks!
Sarah
Dim objGif As AniGIF
Dim MyDB As Database
Dim MyForm As Object
Set MyForm = Form_TipsForm
Set MyDB = CurrentDb()
Set objGif = MyDB.TableDefs(Table!Tips_Table!Lightbulb)
objGif("ID") = (MyForm!ID)
MyForm.OLEBound32.Object = objGif
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|