Re: Report label caption expression

Author: Fred Taylor

Posted: 2016-08-24 at 21:31:12

I've always used a textbox if there is variable data to be displayed.

Labels are for fixed/constant text.

Fred

On Wed, Aug 24, 2016 at 7:22 PM, Joe Yoder <joe@wheypower.com> wrote:

> I thought I had found a way to do it in a label field but maybe I just gave

> up and used a textbox. Is that what you are suggesting?

>

> Joe

>

> On Wed, Aug 24, 2016 at 9:58 PM, Fred Taylor <fbtaylor@gmail.com> wrote:

>

> > Be sure your putting it into a text field not a label.

> >

> > Fred

> >

> > On Wed, Aug 24, 2016 at 6:14 PM, Joe Yoder <joe@wheypower.com> wrote:

> >

> > > I want the header on a report to display the year from a variable along

> > > with some text. When I set the value to "str(m.Year) + 'Auto Mileage

> > > Report'" that string is displayed rather than "2015 Auto Mileage

> Report."

> > >

> > > I think I solved this years ago with the use of a special character or

> > > syntax but I can't remember what it was.

> > >

> > > Thanks in advance for any help,

> > >

> > > Joe

> > >

> > >

> > > --- StripMime Report -- processed MIME parts ---

> > > multipart/alternative

> > > text/plain (text body -- kept)

> > > text/html

> > > ---

> > >

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CAJCBkspkNwnUVLQnjMKddJ-kc+wM6bMcqLw0w9Mdosy_gPfL3A@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2016 Fred Taylor