Results 1 to 4 of 4
  1. #1
    bundymick is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    2

    Using a Default Date that can be altered.

    The Database I am currently running has multiple date fields. I want a particular date field to default to another date unless a specific date is entered.



    EG if Date2 field is empty use date1.

    I have a formula which is based on date2

    Neither of these dates are current dates and fall anytime 13 weeks+ in the the past.

    ta

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Assuming you are using a bound form then you could use the Current Event of the form to set the default value of the Date2 control.

  3. #3
    bundymick is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    2
    As a Novis, I'm not overly sure how this is done.. Sorry

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    In the Current Event you would put something like:
    If IsEmpty(Me.Date2) Then
    Me.Date2 = Me.Date1
    End If
    ...using your values of course.

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

Similar Threads

  1. Name & Date by Default
    By smarty84handsome in forum Reports
    Replies: 12
    Last Post: 01-21-2012, 12:22 AM
  2. Forms Default Date
    By smarty84handsome in forum Forms
    Replies: 2
    Last Post: 01-09-2012, 07:15 PM
  3. Default date value
    By Wayne311 in forum Database Design
    Replies: 4
    Last Post: 01-15-2011, 05:38 PM
  4. Default Date in Date Fields
    By rickn in forum Access
    Replies: 5
    Last Post: 04-14-2010, 01:30 PM
  5. Replies: 3
    Last Post: 01-21-2010, 08:10 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