473,320 Members | 1,920 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

OLE Bound Control

I have two OLEbound controls on a Tabbed subform. The properties list does
not allow "can shrink" Is there any way to tell this monster that I don't
want to have a great big blank space if in fact there is no data in the OLE
for a particular record?

Thanks and regards
Nov 13 '05 #1
3 4441
Test for existance of image data, if NULL set the OLE Frame control's
VISIBLE prop to NO.
*Air Code*
Me.NameOfYourOLEFrameControl.Visible =
(IsNull(Me.NameOfYourOLEFrameControl.Value))
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Brian Keanie" <bk******@sympatico.ca> wrote in message
news:Et********************@news20.bellglobal.com. ..
I have two OLEbound controls on a Tabbed subform. The properties list does not allow "can shrink" Is there any way to tell this monster that I don't want to have a great big blank space if in fact there is no data in the OLE for a particular record?

Thanks and regards


Nov 13 '05 #2
Rog
Surely that must be

Me.NameOfYourOLEFrameControl.Visible = NOT
(IsNull(Me.NameOfYourOLEFrameControl.Value))

?

Nov 13 '05 #3
Surely you are correct. Surely as well I did indicate it was Air Code.
Thank you for the correction.
--

Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Rog" <de********@state.gov> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Surely that must be

Me.NameOfYourOLEFrameControl.Visible = NOT
(IsNull(Me.NameOfYourOLEFrameControl.Value))

?


Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Aaron Ackerman | last post by:
I am using typed datasets in an N-Tier Windows app using VB.NET. I know this posting cannot be fully explained in a single post that is why I am asking for someone to point me to a real world...
3
by: PAUL EDWARDS | last post by:
I have a windows form that is bound to a datatable. In VB6 I could just update the field contents and it would be updated in the database, however if I update the text property of the control from...
0
by: Maurice Mertens | last post by:
Hi, I'm having some troubles with bound controls on a windows form. When I start the form, the dataset gets filled with records. Then the controls on the form are bound to fields in the dataset....
19
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
1
by: DrFoo | last post by:
Hi, I'm trying to check for a unique value index violation on a bound field when done editing the field (before update, on exit, on lost focus, etc), and when I find a violation change the value...
6
by: BBM | last post by:
Hi, I'm having trouble getting control data binding to work. As I understand it, the simplest form of databinding requires three things: 1) A control (say a textbox) on a form or user...
0
by: HP | last post by:
Hi there I have a datalist control with some bound controls in its Item Template and a gridview bound to one of those fields (residing also in Item Template). I've found out that when I click...
1
by: nassersh | last post by:
I am using a bound control to embed word documents within an access form. I have created two buttons on the form One to embed aand display and one to close. I embed one doc and then save the doc...
6
by: Jonathan Wood | last post by:
I have a databound dropdownlist control. Based on some other criteria, I need to specify the selected item in my pages Load event. The problem is that, in my load event, the control does not yet...
0
by: Mike | last post by:
So here's the situation (.NET 2.0 btw): I have a form, and on this form is a textbox among many other databound controls. The textbox is bound to a field in a data table via the Text property. ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.