Welcome to SPN

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

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

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
    > >
    > >

    >
    >
    >
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page