OLE embedded object property

W

Wade Gillingham

I have a table with an OLE object field that stores embedded *.pdf
files. I would like my report to display an icon if the record has an
object embedded - if the OLE field is not blank. In VB, how do I check
to see if the record has an object or not? I've tried

if [myOLEObject].Value = True then
...

I can handle displaying the icon but can't get the logic down for
looking at the OLE field.

Thanks.
 
S

Stephen Lebans

If Not IsNull(Me.NameOfYourOLEFrameControl.Value) Then

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top