Welcome to SPN

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

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

Cannot pull field from related table into report

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

  1. Dennis

    Dennis
    Expand Collapse
    Guest

    Access 2003

    Have setup a relationship on " Def number" between tables.
    Even added that relationship to the query which feeds the report in question.

    In the control source on the Report I entered:
    =[Category] & Chr(13) & Chr(10) & "(" & [Type] & ")" & Chr(10) & Chr(10) &
    [tblChart3]![Status]

    It fails by requesting a value for tblChart3.

    Also the Report's control source changes to:
    =[Category] & Chr(13) & Chr(10) & "(" & [Type] & ")" & Chr(10) & Chr(10) &
    tblChart3!Status

    [Category] and [Type] are from the Primary table whereas
    [tblChart3] is in the related table.

    Need help! Thanks
     
  2. Loading...

    Similar Threads Forum Date
    Cannot Find A Thread ? Try "Search by Tag." Announcements Jan 21, 2013
    I cannot Keep My Hair No Longer Sikh Youth Aug 8, 2012
    India Govt cannot change purpose of acquired land: SC Breaking News Oct 6, 2011
    USA TSA: Body Scanners Cannot See Through Turbans Breaking News Jan 14, 2011
    India India cannot help but be complex Breaking News Oct 2, 2010

  3. SusanV

    SusanV
    Expand Collapse
    Guest

    Hi Dennis,

    Replace the ! with a period:

    =[Category] & Chr(13) & Chr(10) & "(" & [Type] & ")" & Chr(10) & Chr(10) &
    [tblChart3].[Status]

    --
    hth,
    SusanV


    "Dennis" <Dennis@discussions.microsoft.com> wrote in message
    news:754C3FFF-452D-4009-81DF-D1E4CA20732E@microsoft.com...
    > Access 2003
    >
    > Have setup a relationship on " Def number" between tables.
    > Even added that relationship to the query which feeds the report in
    > question.
    >
    > In the control source on the Report I entered:
    > =[Category] & Chr(13) & Chr(10) & "(" & [Type] & ")" & Chr(10) & Chr(10) &
    > [tblChart3]![Status]
    >
    > It fails by requesting a value for tblChart3.
    >
    > Also the Report's control source changes to:
    > =[Category] & Chr(13) & Chr(10) & "(" & [Type] & ")" & Chr(10) & Chr(10) &
    > tblChart3!Status
    >
    > [Category] and [Type] are from the Primary table whereas
    > [tblChart3] is in the related table.
    >
    > Need help! Thanks
    >
    >
     
  4. Sprinks

    Sprinks
    Expand Collapse
    Guest

    Dennis,

    Include the field in a query upon which the report is based to access it.

    Sprinks

    "Dennis" wrote:

    > Access 2003
    >
    > Have setup a relationship on " Def number" between tables.
    > Even added that relationship to the query which feeds the report in question.
    >
    > In the control source on the Report I entered:
    > =[Category] & Chr(13) & Chr(10) & "(" & [Type] & ")" & Chr(10) & Chr(10) &
    > [tblChart3]![Status]
    >
    > It fails by requesting a value for tblChart3.
    >
    > Also the Report's control source changes to:
    > =[Category] & Chr(13) & Chr(10) & "(" & [Type] & ")" & Chr(10) & Chr(10) &
    > tblChart3!Status
    >
    > [Category] and [Type] are from the Primary table whereas
    > [tblChart3] is in the related table.
    >
    > Need help! Thanks
    >
    >
     
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