Results 1 to 2 of 2
  1. #1
    genciT5 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2015
    Posts
    1

    In-Form fields, autofill

    Hello everyone!



    I have a problem with a database i am trying to create. Because my english isn't so good, i will try to show you my problem in a different way, in a simple example.

    Let's say I am trying to create a access database for an dentist. And I am building a form where he can register his patients.

    I want to make things easy for him. So when he registers a new patient, there is a field called "Year Old" (how years old is the patient), and an other field called "Age" [Remember it's just an illustration of my problem]. So what I want is, when he types a value into "Year Old" field, automatically (or by default) the other field will fill either Adult / Minor. So if the 'years old' field's value is under 18, the age's value will be "Minor" , else if it is bigger or equal to 18, age="Adult".

    Any suggestion how can i do this?
    Thank you

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Before getting too involved with forms etc, make sure you have a data model that supports your business.
    Here is a free data model related to hairdresser appointments. I think you could adapt it to a dentist's practice.
    Getting your tables and relationships set up to match your needs is key to database.

    These are the business facts related to the business in the model

    The model is meant as a starting point and is generic. It may not meet your needs but you can use, alter or drop parts as necessary.

    Good luck.

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

Similar Threads

  1. AutoFill Fields on a Form
    By james7705 in forum Forms
    Replies: 1
    Last Post: 10-22-2014, 11:25 AM
  2. Replies: 6
    Last Post: 04-24-2013, 03:19 PM
  3. Replies: 5
    Last Post: 09-14-2010, 09:50 PM
  4. Autofill form fields based on another field
    By ljs1277 in forum Access
    Replies: 3
    Last Post: 02-16-2010, 02:51 PM
  5. Autofill form fields
    By roboticsguy1988 in forum Forms
    Replies: 1
    Last Post: 08-10-2009, 08:56 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