Results 1 to 3 of 3
  1. #1
    LoveLEE143 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2013
    Posts
    7

    Save date as blank

    Hello I am building a database for a client who manufactures car parts. I have a table to store vehicle model. Each model has a date range of production. I have two build dates from and to. Both of these fields are setup as date fields on the table. I made both fields required with a mask for validation. In the "build date to" field if a car is still in production I need to leave the field blank. Is there any special character that will allow me to store a required field blank.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,643
    No - if field is set as required then must enter value.

    Since data is not always required, don't set as required.

    Can use code to validate data. Determine at what point it is necessary to verify this date is provided and write code to handle that.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    LoveLEE143 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2013
    Posts
    7
    Thanks problem solved.

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

Similar Threads

  1. Save date-specific information for a record.
    By billef32 in forum Programming
    Replies: 2
    Last Post: 03-25-2013, 09:48 PM
  2. Replies: 11
    Last Post: 03-29-2012, 11:23 PM
  3. Replies: 9
    Last Post: 01-20-2011, 02:22 PM
  4. Look for blank date fields
    By NOTLguy in forum Programming
    Replies: 3
    Last Post: 10-17-2010, 07:56 AM
  5. Replies: 4
    Last Post: 09-02-2010, 02:11 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