Welcome to SPN

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

Sign Up Now!

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

Share This Page