Results 1 to 5 of 5
  1. #1
    benthamq is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    32

    Value List vs. Table/Query Look Up


    Hello all,


    I am new to Access 2010 and greatly appreciate any help offered.

    I have a table with customer data which includes a field called, "Terms," (meaning payment terms). The records in this table will contain values like like Net 30, Net 45, Net 60, 1% Net 10 / Net 30, COD, etc.
    I also have a table with vendor data with a field called, "Terms." The records in this field will contain the same data for purchases.

    I don't want the users to be able to change the values for terms so I would like to have them select from a list with all the potential types of terms.

    How is this best handled? It seems like I have three options:
    1) Use a value list and type the values
    2) Create a separate table with only two fields, an ID primary key and the terms, and use a select statement.

    Which is better? Is there a general rule for look-ups regarding value lists vs. separate table with SQL statement?

    Also, if this is accomplished by the table, is it necessary to create a relationship between the primary key of the terms type and the foreign key in the customer or vendor field?

    Thanks very much for help.

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    I'm going to assume that there is a form interface for your users to enter this data in. What you should do is create a separate table of terms, then create a combobox that holds those values. The user can then select an option and you can continue from there.

  3. #3
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    The separate table is more flexible and need only have one field if that's what you want. Use it as the RowSource of a ComboBox and all of the work is done for you.

  4. #4
    benthamq is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    32
    @RuralGuy and TheShabz - Thanks.

    I will mark this solved.

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Glad we could help.

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

Similar Threads

  1. Replies: 4
    Last Post: 06-16-2011, 09:30 PM
  2. Table List and currency
    By insah in forum Access
    Replies: 2
    Last Post: 03-23-2011, 12:50 AM
  3. Update Field list in Table with Query
    By Scorpio11 in forum Queries
    Replies: 3
    Last Post: 07-16-2010, 01:57 PM
  4. Replies: 1
    Last Post: 05-17-2010, 12:21 PM
  5. Replies: 0
    Last Post: 08-26-2009, 11:51 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