Results 1 to 2 of 2
  1. #1
    Sajius is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    1

    Post Simple question on expression building for a form filtered report

    Hello all,

    I've only been using access for about a week and gathering reliable solutions and answers from Google searches is spotty at best. On with the question~

    Understanding my needs:
    I have a textbox I'm using for a layered header on a form filtered report. I'd like the textbox to concatenate two pieces of string data that were used to filter the report like so: Documents for "System fancy numbers and letters" In "Project fancy numbers and letters". It sounded simple enough solution to what I need.



    What I have:
    In the textbox I have the following expression: =[Reports]![ReportName]![FieldNameForFancyStuff] ...concatenate on similar for the rest. This is generating the Primary key ID of the field data and not the actual data.
    ex: Documents for 3 in 9

    Any thoughts?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    If you need descriptive data from lookup table, then need to include that table in the report RecordSource. Then maybe:

    ="Documents for " & [descriptive field from lookup table] & " In " & [another field]
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Question in Building an Expression
    By Dmosk319 in forum Queries
    Replies: 1
    Last Post: 03-27-2014, 07:33 AM
  2. Filtered Report from filtered datasheet form
    By gemadan96 in forum Reports
    Replies: 7
    Last Post: 01-03-2014, 05:12 PM
  3. Report Expression Building
    By KMac in forum Reports
    Replies: 7
    Last Post: 12-07-2012, 11:29 AM
  4. Another simple expression question!
    By brownk in forum Queries
    Replies: 11
    Last Post: 05-25-2012, 12:04 PM
  5. Probably a simple report question
    By gmurrie in forum Reports
    Replies: 1
    Last Post: 12-28-2005, 09:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums