WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Shrink Horizontally

 
   Home -> Office other -> Reports RSS
Next:  Creating Report (maybe Query?)  
Author Message
Kay

External


Since: Jan 31, 2005
Posts: 66



(Msg. 1) Posted: Fri Sep 05, 2008 12:30 pm
Post subject: Shrink Horizontally
Archived from groups: microsoft>public>access>reports (more info?)

I have a report that has field values selected by a form. I would like for
the text boxes on the report to shrink/grow horizontally on the report. I do
not want to use anything like ([field1] & " " & [field2] & " " & [field3])
It would make the report uneven as not all records hold the same text length.
Prefer code over macro.

Thank you in advance.

Kay
Back to top
Login to vote
Marshall Barton

External


Since: Dec 07, 2003
Posts: 6107



(Msg. 2) Posted: Fri Sep 05, 2008 4:54 pm
Post subject: Re: Shrink Horizontally [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Kay wrote:

>I have a report that has field values selected by a form. I would like for
>the text boxes on the report to shrink/grow horizontally on the report. I do
>not want to use anything like ([field1] & " " & [field2] & " " & [field3])
>It would make the report uneven as not all records hold the same text length.
> Prefer code over macro.


Why do you care? What effect are you trying to get?

If all the contents of each text box fit on one line, then
you can use the TextWidth method. For multi line text
boxes, you can use the TextHeightWidth function at
www.lebans,com

If they can grow both horizontally and vertically, then you
must have some way to determine how much in each direction.

--
Marsh
MVP [MS Access]
Back to top
Login to vote
Kay

External


Since: Jan 31, 2005
Posts: 66



(Msg. 3) Posted: Fri Sep 05, 2008 4:54 pm
Post subject: Re: Shrink Horizontally [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks

"Marshall Barton" wrote:

> Kay wrote:
>
> >I have a report that has field values selected by a form. I would like for
> >the text boxes on the report to shrink/grow horizontally on the report. I do
> >not want to use anything like ([field1] & " " & [field2] & " " & [field3])
> >It would make the report uneven as not all records hold the same text length.
> > Prefer code over macro.
>
>
> Why do you care? What effect are you trying to get?
>
> If all the contents of each text box fit on one line, then
> you can use the TextWidth method. For multi line text
> boxes, you can use the TextHeightWidth function at
> www.lebans,com
>
> If they can grow both horizontally and vertically, then you
> must have some way to determine how much in each direction.
>
> --
> Marsh
> MVP [MS Access]
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Reports All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET