Results 1 to 2 of 2
  1. #1
    bginhb is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    May 2011
    Location
    Huntington Beach, CA, USA
    Posts
    47

    inherited properties

    I acquired a telephone list from a friend. The phone # field had been established using an input format with the special characters stored in the mask ( I found out later, and I began designing a form around the table. It then became obvious that the formatting that included the special characters was a problem as search criteria would also have to include the special characters.

    So I wrote a bit of code to remove the special characters and that worked fine except that now I can't get the (view) formatting to show the special characters even when using a mask and I don't remember ever having this problem before. A primary form runs a query that displays a subset of records from the underlying table and displays them in a listbox for subsequent User selection of the item they want and all is fine except that the listbox row will only show the stored numbers and the formatting is ignored. While this is a good entry approach it's not a good display approach.

    Is that what I should expect or have I done something improper? Is it an inheritance problem?



    Appreciate any help,
    bginhb

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,963
    Beilieve is partially inheritance issue. Controls already built on forms and reports will not reflect changes to field properties in table. The table field properties are adopted by controls only when first created from the field list. However, list/combobox will not use the Format or InputMask properties. Try this as RowSource to show phone number with characters:

    SELECT Format([phone], "(000) 000-0000") As PhoneNum FROM table;
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. What happened to my properties?
    By hertfordkc in forum Forms
    Replies: 1
    Last Post: 11-12-2011, 02:50 PM
  2. Inherited database - macros don't work on new page
    By VictoriaAlbert in forum Access
    Replies: 3
    Last Post: 04-13-2011, 11:45 PM
  3. Form Properties
    By Desstro in forum Access
    Replies: 3
    Last Post: 04-10-2011, 05:54 PM
  4. Form Properties
    By mwabbe in forum Forms
    Replies: 3
    Last Post: 09-23-2010, 10:14 AM
  5. Nz() for properties instead of values
    By eww in forum Programming
    Replies: 4
    Last Post: 08-31-2010, 09:50 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