Results 1 to 6 of 6
  1. #1
    Eddy Sincere is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Jul 2014
    Location
    Carson City, NV
    Posts
    114

    Make a field on a report equal an input field on a form

    I have a form into which I enter a specific number of days, let's say 90. I dropped a button which runs a report that pulls from a query to pull all records with dates which fall between today's date plus the 90 days. That's all working fine.

    I want the "# of Days" text field on the report to display the number that determines the date range (90).

    Input form

    Click image for larger version. 

Name:	ReviewField01.JPG 
Views:	12 
Size:	19.6 KB 
ID:	18222

    Report

    Click image for larger version. 

Name:	ReviewField02.JPG 
Views:	12 
Size:	46.2 KB 
ID:	18223

  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
    =Forms!FormName.TextboxName

    Hope you're missing the smoke.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Eddy Sincere is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Jul 2014
    Location
    Carson City, NV
    Posts
    114
    Got it! Thanks for the quick reply. I was thinking that I had to do some VBA but it turns out it was much more simple than that.

    HA! The smoke is actually not bad today but the last week has been pretty miserable. Everyone has sore throats and watery eyes.

  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
    Happy to help! The form does have to remain open by the way.

    Same here; the vagaries of the wind. Crystal clear one day, can't see across town the next. I played golf near the Mt Rose Highway last week and it was beautiful but we could see the smoke blowing over the mountains. I drove back into town and it was like fog.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    @ Paul
    I'll trade you the smoke for the earthquakes..... 6.1 today.

  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 thanks Steve. Been there, done that.

    i have a cousin in Anchorage though; I better see how he's doing.
    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. Replies: 5
    Last Post: 04-09-2014, 03:34 PM
  2. Replies: 14
    Last Post: 01-03-2013, 11:35 PM
  3. Replies: 11
    Last Post: 10-18-2012, 02:23 PM
  4. Replies: 3
    Last Post: 06-25-2012, 06:54 PM
  5. Calculated field with NOT Equal issue
    By kbassnac in forum Queries
    Replies: 8
    Last Post: 04-20-2011, 07:11 AM

Tags for this Thread

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