Results 1 to 3 of 3
  1. #1
    jsrkr55 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2015
    Posts
    1

    required a new field from a table


    Hi,

    I am working on a report which is displaying a set of records but now i should include a date range option which will filter the data but whenever i am trying to add date field in the query which is the record source for the report, it is not grouping according to previous report, as a investor may have different dates of reference . how can keep the report same and let the user select date range

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    You can either:
    put the dates in the query as a on demand parameter, ( it will as user every time)
    or
    use a form for the user to fill boxes and the qry reads this in the criteria...
    select * from.....where [date] between forms!frmRpt!txtDateStart and forms!frmRpt!txtDateEnd

  3. #3
    JamesDeckert is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Location
    Salina, KS
    Posts
    262
    The easiest way is with the parameter query where the criteria row for the date field looks something like
    >=CDate([>=Beginning Date]) And <CDate([<Ending Date])

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

Similar Threads

  1. Replies: 4
    Last Post: 06-29-2015, 01:56 PM
  2. Replies: 10
    Last Post: 06-18-2015, 11:52 AM
  3. Error on Required Field that has a Value
    By TinaH in forum Access
    Replies: 5
    Last Post: 12-31-2014, 01:33 PM
  4. Replies: 1
    Last Post: 12-07-2012, 02:14 AM
  5. Required Field Help
    By brandonb in forum Access
    Replies: 4
    Last Post: 11-13-2009, 11:18 AM

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