+ Reply to Thread
Results 1 to 3 of 3

Update table

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010, Excel 2007
    Posts
    57

    Update table

    I have an acess 2000 database for a property legal office

    There are Property managements companies that over see many properties
    There are properties that sue their property management company company and then move to new company
    how do I update the database to move the property to a new property management company

    the database has 3 tables

    Companies (property management companies)

    Sites ( properties )

    Status ( normalizing table for companies and sites)

    I would appreciate any help since its been over 12 years since I've used access

  2. #2
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Update table

    Im fairly new to access myself,
    However:
    The companies table probably holds all the company details, each one should have a unique identity.
    The sites table holds all the properties, again each one should have a unique identity.
    The status table is where the 2 tie up.
    you will need to change the company identity for each property on the status table
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

  3. #3
    Registered User
    Join Date
    06-07-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010, Excel 2007
    Posts
    57

    Re: Update table

    I should explained in more detail

    company table has Company_ID key field primary key

    Site table has Company_ID - foreign key and Site_ID key fields primary key

    I want to update the site to a new Company_ID

    What I want to do is update the foreign key in the Site table for a certain site
    Last edited by excelaron; 04-15-2013 at 09:50 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1