Results 1 to 2 of 2
  1. #1
    wagner.bts is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2009
    Posts
    1

    Question Change Between by DateDiff or DateAdd.

    Hello.



    I would like to know, if there's anyway for me to make a query like this:

    Between #30/01/2009# And #30/06/2009#

    Using some function.


    Using between, I have to change the dates everyday manually.

    Tks

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You can use variables:
    Between StartDate AND EndDate
    ...and set the variables in code.

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

Similar Threads

  1. change() on the textbox
    By skywalker in forum Forms
    Replies: 0
    Last Post: 03-01-2009, 01:28 AM
  2. Name Change
    By skip17 in forum Access
    Replies: 0
    Last Post: 01-12-2009, 01:28 PM
  3. DateDiff function
    By Scott R in forum Reports
    Replies: 5
    Last Post: 12-03-2008, 07:32 AM
  4. Datediff() help needed
    By geoff44 in forum Access
    Replies: 2
    Last Post: 11-20-2008, 04:44 PM
  5. Forms: Not immediate change of database
    By firlanu in forum Forms
    Replies: 5
    Last Post: 08-11-2008, 12:04 PM

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