still i couldn't got my answer

G

gaffar

i have created a databse by using ADOX. in tables are created and assigned
primary key through the applcation

now my problem is

i have 1 master table and 3 child tables. in master table i have one field
'contact_id' this is primary key. and in the remaining 3 tables i have
foreign key as this contact_id and in this 3 tables i have no primary key..

i am getting error at this part in the code.

objtable2.Keys.Append(fkey)

objtable3.Keys.Append(fkey2)

error : Unspecified error

how to establish relationship(one-many) between the tables.

Thanks in advance
Gaffar.
 

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