Roz Clarke
roz.clarke at donnslaw.co.uk
Wed Jun 9 11:36:48 CDT 2004
Which event are you doing this in? If it's in the OnFormat of the section containing the controls it *ought* to work! Roz -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: 09 June 2004 17:31 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Resize Rectangle on Report Lembit, I'm trying to change the height of the rectangle because I have several of these in a row on the report. I have tried Me!myRectangle.Height = Me!myTextBox.height + WhatEver The rectangle sizes to the first record but not the rest. Thanks, Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lembit Soobik Sent: Wednesday, June 09, 2004 11:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Resize Rectangle on Report Jim, I have not done this for a long time, but I would set the rectangles width to the textbox width plus something. you will have to find in which event to do this, but the code would be something like me.myRectangle.width = me.myTextbox.width + whatever HTH Lembit Soobik ----- Original Message ----- From: "Jim Hewson" <JHewson at karta.com> To: "AccessD" <accessD at databaseadvisors.com> Sent: Wednesday, June 09, 2004 4:55 PM Subject: [AccessD] Resize Rectangle on Report How do I resize a rectangle on a report? A2K I have a label and a text box inside a rectangle located in a group header. The text box is below the label and the can grow event is set to Yes. Occasionally the text box grows but I can't seem to make the rectangle grow with it. How can I make it grow? Thanks, Jim ---------------------------------------------------------------------------- ---- > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses...