1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Default "TBD" in text box formatted for date?

Discussion in 'Business Applications' started by jmk909er, Nov 1, 2011.

Thread Status:
Not open for further replies.
Advertisement
  1. jmk909er

    jmk909er Thread Starter

    Joined:
    May 20, 2009
    Messages:
    354
    My boss wants all fields to be populated on a form in access. Is it possible to have a default value of "TBD" (to be determined) in a text box that is formatted for a date?? I don't think so but I thought I would ask.

    Thanks, Joe
     
  2. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    If that field in the table is formatted for date and you try and enter text to will get a datatype mismatch. You could put in a data that happened a hundred years ago as the default (tbd date). You will just have to get creative.
     
  3. OBP

    OBP

    Joined:
    Mar 8, 2005
    Messages:
    19,895
    You could display a dummy text box with TBD instead of the real Date Field in Forms & Reports, but it will take some VBA manipulation to do so.
    Then you have the problem of Data entry, when a user click or tabs to the dummy field you will need to switch it for the real field.
     
  4. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    You could also make a check box for tbd and just fill in the current date in the date field.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1024993

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice