Results 1 to 4 of 4

Thread: Relationships & Lookups in Access

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Posts
    164

    Relationships & Lookups in Access

    Does anyone know how to establish relationships and lookups within an Access database? I am creating a new db and then creating and populating the tables. I need to be able to link the domain fields to the domain tables.

    I found this old thread:
    http://www.vbforums.com/showthread.p...hreadid=227413

    I was just wondering if anyone has found any new information since then.

    I would really like to be able to use the lookup tab options of the field. So I can enter a query statement to create the drop down lists from those domain tables. I am using ADOX right now.

    thanks,
    Last edited by Shurijo; May 28th, 2003 at 06:15 PM.
    -Shurijo

  2. #2
    New Member
    Join Date
    Sep 2003
    Posts
    7

    not sure this is what your looking for

    Dim rel As Relation
    Set rel = dbs.CreateRelation(table.field, table.field)
    rel.Attributes = dbRelationDeleteCascade


    let me know if this helps

  3. #3
    New Member
    Join Date
    Sep 2003
    Posts
    7

    missed this

    Dim dbs As Database

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Look for an example I posted in the VB.NET CodeBank . It's about relations .

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