Results 1 to 7 of 7
  1. #1
    Paul H's Avatar
    Paul H is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Location
    Richmond, VA
    Posts
    591

    Field Name Captions


    I just came across this today. In my many years of using Access I have never used or knew about Field Name captions till I started working with a smart, but inexperienced Access user/developer on a database she is trying to build. I found it very unnerving when I looked in a table and couldn't find the field name I was looking for. This strikes me as a very bad idea, but you may feel differently. She's been using a lot of wizards and I guess this was helping her in some way. Maybe I'm to old and set in my ways, but I would never do this. Is this something you would recommend against?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    I caption all the time. No problems.

  3. #3
    Paul H's Avatar
    Paul H is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Location
    Richmond, VA
    Posts
    591
    I must have missed class that day.

  4. #4
    andy49's Avatar
    andy49 is offline VIP
    Windows 10 Access 2007
    Join Date
    Nov 2016
    Location
    London
    Posts
    1,051
    And crucial for attachment fields


    Sent from my iPhone using Tapatalk

  5. #5
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    It's commonly done so that field names can follow proper naming convention but display spaces. I don't see why you couldn't use special characters as well, but I don't recall ever doing that in a caption. If memory serves, a long time ago it was the only way to show sensible column names in a data sheet although now you can set a data sheet field caption in the property sheet. Then again, the old grey matter ain't what it used to be...
    Last edited by Micron; 02-28-2017 at 09:34 PM. Reason: spelin
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  6. #6
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    705
    TIP: The caption is also used as the control's label when adding a control to a form or report.


    Boyd Trimmell aka Hitechcoach
    Database Architect and Problem Solver
    Microsoft MVP - Access Expert
    25+ years specializing in Accounting, Inventory, and CRM systems
    "If technology doesn't work for people, then it doesn't work."

  7. #7
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    I develop for many clients - some of them have suppliers, some have vendors. Others may have staff or employees etc.

    Using the caption property means I have one table design and I just change the caption to suit the client. Also useful for foreign clients.

    Main benefit however is no spaces in field names - and when importing from something like excel to a new table, field names are stripped of spaces, special characters etc, whilst the original name is stored in the caption. Requires a bit of jiggery pokery around matching names on subsequent imports, but all doable and everyone is happy.

    I also use the caption property as a kind of flag - if a field does not have a caption, then it is deemed a 'system' field and not displayed to the user in a form.

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

Similar Threads

  1. PivotTable Filter Field Captions
    By Kat2016 in forum Queries
    Replies: 1
    Last Post: 05-09-2016, 11:53 AM
  2. Replies: 13
    Last Post: 05-26-2015, 12:03 PM
  3. Export to Excel displaying field names instead of captions
    By kattatonic1 in forum Import/Export Data
    Replies: 3
    Last Post: 04-10-2014, 09:13 AM
  4. Replies: 3
    Last Post: 03-04-2014, 12:35 PM
  5. Replies: 1
    Last Post: 03-17-2012, 08:49 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