Hi.
actually it would help me since i could at least try to figure out how
to do the same thing in my IDE.
Set a reference to the DAO library, then iterate through the Indexes
Collection of each TableDef, and check the Primary Property of the Index
object. If it's TRUE, then check which columns that Index object contains.
Those will be all of the columns of the primary key, even if it's a
composite primary key.
most VB/.net programming forums/newsgroups rarely have
access threads and even rarer have actual answers to the questions i
have....
When using VB .Net, it generally takes three to five times longer to program
the equivalent built-in Access features and VBA capabilities. If you're
programming an Access database, then the recommended method is to use
Access, because Access's RAD environment so much quicker and cheaper to
develop with when an experienced developer is using it.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blogs:
www.DataDevilDog.BlogSpot.com,
www.DatabaseTips.BlogSpot.com
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.