Results 1 to 5 of 5
  1. #1
    Davidyam is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Feb 2012
    Posts
    14

    Updating Tables

    Hi,

    Is it possible to update a form which links to two tables with similar column?

    For example,
    I update type of ride, and it updates two tables with type of ride.

    If it is possible, may I know how do I go about doing it.



    Thank You very much.

    Regards,
    Davidyam

  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,929
    Why do you need to do this? Describe structure and relationships of the tables. Possibly you need to use a form/subform arrangement. Or your structure is not correct.
    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.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726

  4. #4
    Davidyam is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Feb 2012
    Posts
    14
    Hi June,

    I need to do these because I need the data to be shown in sharepoint. As sharepoint does not allow two columns with attachment, I need to make another table with another column just for these attachment, however, both attachment column are in the same form.

    Example
    My form has two attachment box, one for manuals and one for service bulletins. I have placed the table into sharepoint but it only allows one attachment column. I need my form, when updating Data, example description, to be able update both tables just so that my supervisors are able to view it when they access to sharepoint.

    Is it possible?

    Thank You very much

    Regards,
    David Yam

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Oh, I have never used Sharepoint.

    So you have two attachment fields, each in a separate table? Both tables have another field, each of which has the same data? You need to update this field for existing record or you are creating new record? How will you know which record of each table to update? There is a field in both tables that is a common unique ID?

    I suppose SQL insert or update actions would work, I just don't understand your data structure or Sharepoint enough to advise how. Think I have seen one project set up for Sharepoint. Don't you have to use macros, no VBA? I use only VBA.
    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. Linked tables not updating
    By ABQcook in forum Access
    Replies: 1
    Last Post: 01-04-2012, 01:27 PM
  2. Updating two tables at once
    By Paul H in forum Forms
    Replies: 2
    Last Post: 10-07-2011, 08:18 AM
  3. VBA not updating the tables
    By weasel7711 in forum Programming
    Replies: 4
    Last Post: 07-16-2011, 03:23 PM
  4. Updating 4 Tables From 1 Form
    By kevsim in forum Forms
    Replies: 2
    Last Post: 11-15-2010, 03:08 AM
  5. Updating two tables using SQL Insert Into
    By glazzaro in forum Programming
    Replies: 0
    Last Post: 05-02-2008, 10:52 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