Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

How to stack fields on Access report

Discussion in 'Information Technology' started by Dennis, Nov 4, 2005.

  1. Dennis

    Dennis
    Expand Collapse
    Guest

    Using Access 2003

    Area: Reports

    With the fileds shown, how do I get [Lastname] immediately under [Firstname]
    when [Comments] is a Memo field set to
    Grow="yes"?

    WHAT I WANT:
    [Firstname] [Comments]
    [Lastname] xxxxxxxxxx
    xxxxxxxxxx
    xxxxxxxxxx
    xxxxxxxxxx
    xxxxxxxxxx



    WHAT I GET:
    [Firstname] [Comments]
    xxxxxxxxxx
    xxxxxxxxxx
    xxxxxxxxxx
    xxxxxxxxxx
    xxxxxxxxxx
    xxxxxxxxxx
    [Lastname]

    I have entered =[Firstname]&CHR(10)&[Lastname] into the Control Source and
    it concatenated them but on the same report line.

    The same result occurs if I move the two fields above/below each other in
    Reports Design View.

    Thanks Dennis
     
  2. Loading...

    Similar Threads Forum Date
    US Defense Department Hiring Resident Aliens in Medical and Language Fields Business, Lifestyle & Leisure Dec 6, 2008
    Sikh News Women more vulnerable to cancer in Punjab's cotton fields (New Kerala) Breaking News Apr 1, 2008
    Sikh News Women more vulnerable to cancer in Punjab's cotton fields (Calcutta News) Breaking News Apr 1, 2008
    Sikh News Punjab's killing fields (The Times of India) Breaking News Feb 24, 2008
    Sikh News MQM fields 218 candidates in Punjab (The Pakistan Link) Breaking News Feb 1, 2008

  3. Rick B

    Rick B
    Expand Collapse
    Guest

    Why not put "Comments" next to "LastName"?

    [FirstName]
    [LastName] [Comments]

    --
    Rick B



    "Dennis" <Dennis@discussions.microsoft.com> wrote in message
    news:D8B7E218-76DB-4ED7-B943-23DBD262F08A@microsoft.com...
    > Using Access 2003
    >
    > Area: Reports
    >
    > With the fileds shown, how do I get [Lastname] immediately under
    > [Firstname]
    > when [Comments] is a Memo field set to
    > Grow="yes"?
    >
    > WHAT I WANT:
    > [Firstname] [Comments]
    > [Lastname] xxxxxxxxxx
    > xxxxxxxxxx
    > xxxxxxxxxx
    > xxxxxxxxxx
    > xxxxxxxxxx
    >
    >
    >
    > WHAT I GET:
    > [Firstname] [Comments]
    > xxxxxxxxxx
    > xxxxxxxxxx
    > xxxxxxxxxx
    > xxxxxxxxxx
    > xxxxxxxxxx
    > xxxxxxxxxx
    > [Lastname]
    >
    > I have entered =[Firstname]&CHR(10)&[Lastname] into the Control Source and
    > it concatenated them but on the same report line.
    >
    > The same result occurs if I move the two fields above/below each other in
    > Reports Design View.
    >
    > Thanks Dennis
    >
    >
     
  4. fredg

    fredg
    Expand Collapse
    Guest

    On Thu, 3 Nov 2005 10:00:08 -0800, Dennis wrote:

    > Using Access 2003
    >
    > Area: Reports
    >
    > With the fileds shown, how do I get [Lastname] immediately under [Firstname]
    > when [Comments] is a Memo field set to
    > Grow="yes"?
    >
    > WHAT I WANT:
    > [Firstname] [Comments]
    > [Lastname] xxxxxxxxxx
    > xxxxxxxxxx
    > xxxxxxxxxx
    > xxxxxxxxxx
    > xxxxxxxxxx
    >
    > WHAT I GET:
    > [Firstname] [Comments]
    > xxxxxxxxxx
    > xxxxxxxxxx
    > xxxxxxxxxx
    > xxxxxxxxxx
    > xxxxxxxxxx
    > xxxxxxxxxx
    > [Lastname]
    >
    > I have entered =[Firstname]&CHR(10)&[Lastname] into the Control Source and
    > it concatenated them but on the same report line.
    >
    > The same result occurs if I move the two fields above/below each other in
    > Reports Design View.
    >
    > Thanks Dennis


    You were close, but sorry, no cigar!
    You need to use chr(13) & chr(10) together ... in that order ... in
    Access.
    Using a new unbound control, set it's control source to:
    = [FirstName] & chr(13) & chr(10) & [Lastname]
    Then do not display your existing FirstName and LastName controls, but
    keep them in the report's record source.
    --
    Fred
    Please respond only to this newsgroup.
    I do not reply to personal e-mail
     
  5. Dennis

    Dennis
    Expand Collapse
    Guest

    Thanks for your time and knowledge!

    "Rick B" wrote:

    > Why not put "Comments" next to "LastName"?
    >
    > [FirstName]
    > [LastName] [Comments]
    >
    > --
    > Rick B
    >
    >
    >
    > "Dennis" <Dennis@discussions.microsoft.com> wrote in message
    > news:D8B7E218-76DB-4ED7-B943-23DBD262F08A@microsoft.com...
    > > Using Access 2003
    > >
    > > Area: Reports
    > >
    > > With the fileds shown, how do I get [Lastname] immediately under
    > > [Firstname]
    > > when [Comments] is a Memo field set to
    > > Grow="yes"?
    > >
    > > WHAT I WANT:
    > > [Firstname] [Comments]
    > > [Lastname] xxxxxxxxxx
    > > xxxxxxxxxx
    > > xxxxxxxxxx
    > > xxxxxxxxxx
    > > xxxxxxxxxx
    > >
    > >
    > >
    > > WHAT I GET:
    > > [Firstname] [Comments]
    > > xxxxxxxxxx
    > > xxxxxxxxxx
    > > xxxxxxxxxx
    > > xxxxxxxxxx
    > > xxxxxxxxxx
    > > xxxxxxxxxx
    > > [Lastname]
    > >
    > > I have entered =[Firstname]&CHR(10)&[Lastname] into the Control Source and
    > > it concatenated them but on the same report line.
    > >
    > > The same result occurs if I move the two fields above/below each other in
    > > Reports Design View.
    > >
    > > Thanks Dennis
    > >
    > >

    >
    >
    >
     

Share This Page