Results 1 to 4 of 4
  1. #1
    TheHarleygirl2005 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    34

    Autofill text field on new record


    I have searched this forum and couldn't find an answer to my question so I apologize if this has already been addressed and I just couldn't find it.

    I have a text field with a lookup where you can either select "active" or "inactive" (created in the table and restricted to those two choices). I would like this field to automatically default to "active" when creating a new record in a form. Then if the member becomes inactive I can manually change it. Is this possible?

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,544
    Have you tried setting its Default Value property.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    TheHarleygirl2005 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    34
    No, I didn't think of that. I just assumed I would need to add some code to the form and couldn't think of what it would be. Thanks for your help, that worked perfectly! Thanks for your help.

  4. #4
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,544
    Quote Originally Posted by TheHarleygirl2005 View Post
    No, I didn't think of that. I just assumed I would need to add some code to the form and couldn't think of what it would be. Thanks for your help, that worked perfectly! Thanks for your help.
    Sometimes life is good
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

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

Similar Threads

  1. Replies: 2
    Last Post: 12-21-2012, 01:57 PM
  2. Autofill text field using rowsource+date
    By srcacuser in forum Forms
    Replies: 2
    Last Post: 11-30-2011, 09:44 AM
  3. Replies: 1
    Last Post: 11-22-2011, 02:36 PM
  4. Autofill Text Box from Cascading Combobox
    By desibabu90 in forum Forms
    Replies: 14
    Last Post: 06-28-2011, 11:31 AM
  5. Replies: 1
    Last Post: 02-04-2011, 04:58 AM

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