Results 1 to 7 of 7
  1. #1
    bsmith is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jul 2014
    Location
    So. Cal.
    Posts
    7

    Pulling field from form and adding it to a report

    ClubDatabase.zip



    I've attached the trimmed down database to narrow down my problem. I want the "Disclaimer" field in the MyOrgInfo Form or Table to be shown in the Members ALL Data Report. That's it. I've tried adding the query for it to the report SQL --> didn't work. I tried things like =[Forms]![MyOrgInfo]![Disclaimer], but that didn't work either. I tried a bunch of different things and searched the forums, but couldn't find the clue that got me on the right track. I know the answer is super easy, I just can't see it. So I finally caved and made my own shout out for help .

    Any help is much appreciated.
    Last edited by bsmith; 08-13-2014 at 06:09 PM. Reason: grammer correction

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Works for me with:

    =[Forms]![MyOrgInfo]![Disclaimer]

    I had to change the popup and modal properties of the form to be able to open the report.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    bsmith is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jul 2014
    Location
    So. Cal.
    Posts
    7
    Ok, I'll check the modal properties (once I figure out what that means) tonight. Thanks!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problem. You can cut the form out of the picture and get it with from the table:

    =DLookUp("[Disclaimer]","[MyOrgInfo]")
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    bsmith is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jul 2014
    Location
    So. Cal.
    Posts
    7
    Sooo. Finally figured out the modal and popup properties after much research. Messing aroung with this didn't seem to fix much for me, but I was probably not doing something right. I did retry =[Forms]![MyOrgInfo]![Disclaimer] and results were #error. However the =DLookUp("[Disclaimer]","[MyOrgInfo]") worked smashingly!! I had actually tried the DLookUp earlier, but I think I may have input something wrong. Thanks pbaldy you've staved off my insanity for another week.

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problem. I wish someone had staved off my insanity.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    By the way, was the form open when you tested with the form reference? It needs to be.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Question about adding a new field to a report.
    By boulderer in forum Access
    Replies: 2
    Last Post: 08-06-2013, 05:55 PM
  2. Replies: 8
    Last Post: 07-24-2013, 09:47 AM
  3. Replies: 5
    Last Post: 12-27-2012, 02:54 PM
  4. Date and time formatting when pulling from a form field
    By avarusbrightfyre in forum Programming
    Replies: 3
    Last Post: 09-15-2011, 04:20 PM
  5. Adding field to report
    By wthoffman in forum Reports
    Replies: 10
    Last Post: 01-30-2011, 12:59 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