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   Events   Register Register  Login Login

>
Want a good read? Try The Summer of His Life (available on Amazon!)

ParseMultivalueFieldTonormalizedStructure A2K-A2K3

 Post Reply Post Reply
Author
Message Reverse Sort Order
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP


Joined: 20 Feb 2008
Status: Offline
Points: 261
Post Options Post Options   Thanks (0) Thanks(0)   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: ParseMultivalueFieldTonormalizedStructure A2K-A2K3
    Posted: 10 Apr 2009 at 3: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.
Consider donating $1 per sample downloaded, find out why here.<
Back to Top
Sponsored Links
>
Want a good read? Try The Summer of His Life (available on Amazon!)

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.