Roger's Access Library Homepage
Forum Home Forum Home>Roger's Access Library>Roger's Download Samples
  New Posts New Posts RSS Feed: ParseMultivalueFieldTonormalizedStructure A2K-A2K3
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

ParseMultivalueFieldTonormalizedStructure A2K-A2K3

 Post Reply Post Reply
Author
Message / View First Unread Post
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP


Joined: 20 Feb 2008
Online Status: Offline
Posts: 229
Post Options Post Options   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: ParseMultivalueFieldTonormalizedStructure A2K-A2K3
    Posted: 10 Apr 2009 at 11:43am
Please consider donating $1 per sample downloaded, find out why here.
 
ParseMultivalueFieldToNormalizedStructure.mdb
 
This sample illustrates how to write values from a multiple valued field (not the Access 2007 multi-value field) into a normalized Many-to-Many structure.  The original table is called "ContactsDownloadMultivalue". The contact information is written into "tblContacts". The category information from the multiple valued field is written to "tblCategories"

Then a record is created in jtblContactCategory junction table, establishing the many-to-many relationship.

To run the code, open Module1, place the cursor in the subroutine, and click Run.

Level: Intermediate. Requires knowledge of VBA programming.
Please consider donating $1 per sample downloaded, find out why here.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down