Results 1 to 2 of 2

Thread: How copy the realtions to a new MDB?

  1. #1

    Thread Starter
    Registered User
    Join Date
    Apr 1999
    Location
    Brazil
    Posts
    144

    Post

    I need make a new file from an existing database (mdb), but some tables must come with their datas and others not. Using access I couldn't, it lost some relations.

    Well, I need a code that copy the relations of a SourceMDBFile to a TargetMDBFile.

    Can you give some help?

    Jefferson

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    You can see the values but not manipulate them (you cannot cut-n-paste, for example), directly. The fields you're interested in are in MSysRelationships with szColumn/szObject being one side of the relationship, szReferencedColumn/szReferencedObject, the other. It should be possible to view the realtionships in the old table and apply them , manually, to the new.

Posting Permissions

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



Click Here to Expand Forum to Full Width