Results 1 to 2 of 2
  1. #1
    Niall_Deas is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Aug 2015
    Posts
    1

    Unhappy Suppliers, Services, Postcode Areas and Postcode Districts

    I have hit a wall.... I have a database which matches suppliers with jobs offered. The thing is I cannot for the life of me think of the best data structure to allow the database to automatically select which supplier (c.200 suppliers) who provides a type of service (c.40 types of services) in UK postcode areas (121 UK postcode areas). This is complicated as some suppliers only cover certain postcode districts (c.2250 postcode districts across the UK) (excluding guersey, jersey and IoM). There are an average of 23.36 postcode districts per postcode area (postcode areas = first letters at start, district = numbers before gap in UK postcode).



    I have set the table that has a supplier, another with suppliers and service. These link together with a one-to-many relationship. So that part is taken care of. Some suppliers provide many different services so this is required. Question is now how to bring in the postcode areas and districts.

    As far as I can see the best way will be to have a one-to-many relationship between a postcode area table and a postcode district table, the postcode district table having postcode area and postcode district fields.

    But this is where I lose the plot.

    My problem is each supplier can cover numerous postcode areas and districts therein.

    Any suggestions appreciated.

  2. #2
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    sounds like you need another table for service Areas with a one to many relationship from your supplier table

    tblServiceAreas
    ServiceAreaPK autonumber
    SupplierFK long - link to your supplier table
    PostCode text

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

Similar Threads

  1. Replies: 3
    Last Post: 04-30-2014, 11:19 AM
  2. Replies: 2
    Last Post: 10-14-2013, 05:09 AM
  3. Replies: 1
    Last Post: 04-14-2013, 06:54 PM
  4. UK Postcode/ZIP Code Input Mask
    By tsn.s in forum Access
    Replies: 1
    Last Post: 04-02-2012, 05:49 AM
  5. Adding values in postcode lookup form to another form
    By robertmarkdudley95 in forum Programming
    Replies: 3
    Last Post: 03-30-2012, 02:00 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