Results 1 to 3 of 3
  1. #1
    Vera is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Location
    Belgium
    Posts
    9

    Two different input formats for same column

    Hi,

    Is it possible to have two different input formats in one and the same column.
    I have a column account number which has a format of 000-0000000-00.
    With the new IBAN number, the format changes. For the numbers that are already in the column, nothing changes, but for new numbers the format will be: AA00 0000 0000 0000

    I intend to have a option button on the form asking if it's IBAN or not, if IBAN, I want that format, if not, the old one stays.
    Is this possible?

    Thanks.
    Vera

  2. #2
    Rawb is offline Expert
    Windows XP Access 2000
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    You can do some limited data validation at the Table-level, but you can't allow for multiple formats like that in a single field.

    You can control that programatically through the input Form though.

  3. #3
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    you may try to set different input mask on that field when user choose different type.

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

Similar Threads

  1. Replies: 2
    Last Post: 08-17-2010, 01:10 PM
  2. Queries that Check field formats
    By mojers in forum Queries
    Replies: 3
    Last Post: 05-02-2010, 07:39 AM
  3. Replies: 7
    Last Post: 04-27-2010, 02:47 PM
  4. Replies: 1
    Last Post: 04-15-2010, 02:07 AM
  5. inserting values in column based another column
    By wasim_sono in forum Database Design
    Replies: 1
    Last Post: 06-27-2006, 05:23 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