Results 1 to 3 of 3
  1. #1
    newtoAccess is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Nov 2009
    Posts
    226

    Best Practice default in table or use update query

    What is the most correct way to do the following.
    I have the user enter first and last name in seperate fields on a form that fills the table. Normal stuff.
    here are the fields I want to fill automaticly.
    [Full_Name] = full name --[F_Int], = first Initial --[L_Int], = Last initial --[F_Int_L_name] = first Initial and Last Name -- [F_Name_L_Int] = first Name and Last Initial

    1- Should I have or can I have the table set the field default of above fields to Left([F_Name],1) to set the first Initial field, Left([L_Name],1) to set the last Initial field, etc OR

    2- or should I Create an update query to Left([F_Name],1), Left([F_Name],1) etc

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    In my opinion, the correct thing to do is option 3; don't store those fields at all. They can all be derived from first and last names, so I wouldn't store them. Calculate them as and when needed.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    newtoAccess is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Nov 2009
    Posts
    226

    Thanks

    OK Thanks
    Willgive it a try

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

Similar Threads

  1. Replies: 7
    Last Post: 02-06-2012, 11:54 AM
  2. Replies: 2
    Last Post: 01-31-2011, 08:31 AM
  3. Best practice?
    By thekruser in forum Queries
    Replies: 2
    Last Post: 09-20-2010, 09:41 AM
  4. Database Structure | Best Practice Question
    By davidson12 in forum Forms
    Replies: 0
    Last Post: 11-05-2009, 03:29 PM
  5. update default value in form
    By leah7au in forum Access
    Replies: 3
    Last Post: 05-14-2009, 07:11 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