Re: Re-Size/Re-Position BoundObjectFrame



Thanks! Got it going – and it was much easier than I had expected.

BTW – I am already using your convert to pdf, rotate text, and get
height/width functions.

YOU ARE THE BEST!

--
terri


"Stephen Lebans" wrote:

The ability of the OLE control to redraw itself properly, especially on an
Access report, is linked directly to the OLE Server app for the embedded
object.
Here is an example for Forms only, for Reports you will have to place your
code in the Format event of the section containing the control:
http://www.lebans.com/autosizeole.htm
--

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


"terri" <terri@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:02A6E5C0-9383-44E3-AB3A-A7CFC354F1CC@xxxxxxxxxxxxxxxx
I am working with an application using the 2000 runtime.

I have a one page report which contains 9 Bound OLE objects. I want to
hide
the fields that are empty (easy) and scale and re-position the visible
fields
to use the maximum allowable space.

Trying to change the Top, Left, Height or Width properties in the Open
Event
triggers a "Method 'xxx' of object _BoundObjectFrame failed" error - which
is
trapped -- and the application continues (showing the fields in their
original size/position) seemingly without issue. However, when the app is
closed, an "abnormal program termination" from the Visual C++ Runtime
displays.

Short of having frames for every possible size/location combination and
setting the controlsources in the correct slots (which does work BTW), is
there a way to re-size and re-position this type of control?

Thanks!
--
terri



.



Relevant Pages

  • Re: RTF2 control printing problem
    ... and BTW the message appears for each occurence of that section as its ... "Stephen Lebans" wrote: ... before the control is fully instantiated. ... interesting the report displays on screen no problem with the RTF text ...
    (microsoft.public.access.modulesdaovba)
  • Re: PLEASE HELP....Properties and Methods
    ... I tried changing the control name of RecipeName on the report and I am ... You have to substitute the NAME property of your control in here... ... The properties window changes as you ...
    (microsoft.public.access.reports)
  • RE: Emailers and Add-ons
    ... So 222 333 444 etc are just to show you where to put the name of the control. ... The title of the report is rptAuditOnLine ... Is there a way that a macro can be written to ... The macro opens a form. ...
    (microsoft.public.access.gettingstarted)
  • RE: *REPOST* If then Else Statment in Report
    ... "Duane Hookom" wrote: ... when a main report doesn't return records. ... Earlier as we found I was confused about the name of the control ... which is the name of the subreport as seen in the database window. ...
    (microsoft.public.access.reports)
  • Re: RTF2 ActiveX control stretches text in reports
    ... Report Abuse ... The issue is that the control in the detail section is not formatting ... third seems to have an issue with the font pitch as "I am ge ttin g ou ... Stephen Lebans Feb 5, 12:39 am show options ...
    (microsoft.public.access.reports)