Results 1 to 3 of 3
  1. #1
    Lounger
    Join Date
    Jan 2001
    Location
    Bradford, Yorkshire, England
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Date Question (Access 97)

    Hi theres probably a really easy answer to this but my brain isnt working at the moment.

    I want to insert a default date which is 2 months earlier than the current date. I know that if wanted to add 2 months onto the current date i could use DateAdd but cant work out the equivalent for deducting 2 months.

    Hope this makes sense and thanks for any help

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Default Date Question (Access 97)

    Use DateAdd("m",-2,date())
    Francois

  3. #3
    Lounger
    Join Date
    Jan 2001
    Location
    Bradford, Yorkshire, England
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Default Date Question (Access 97)

    Thanks for your help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •