creating realtionships in msaccess database by using adox

T

Tulasi

Sir,

i have created MSAccess databse by using vb.net by ADOX. now my problem in
the ms access database i have one master table in which i have a master
field contact_id which is a primary key and i have 3 child tables in which i
want use contact_id as foreign key. and to establish relationship between
tables . please help me the code.

Thanks in advance.
 
P

Paul Clement

¤ Sir,
¤
¤ i have created MSAccess databse by using vb.net by ADOX. now my problem in
¤ the ms access database i have one master table in which i have a master
¤ field contact_id which is a primary key and i have 3 child tables in which i
¤ want use contact_id as foreign key. and to establish relationship between
¤ tables . please help me the code.

See the following:

Creating Relationships and Integrity Constraints
http://msdn.microsoft.com/library/d...creatingrelationshipsintegrityconstraints.asp


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top