Denaes Posted November 18, 2003 Posted November 18, 2003 I have relationships in my .mdb file. I also see that schema seem to be about defining relationships. Will the Jet Ole data connector take care of the existing relationships, or do you need to create a schema with the relationships to use them? Quote
*Gurus* Derek Stone Posted November 19, 2003 *Gurus* Posted November 19, 2003 Investigate the OleDbDataAdapter.FillSchema method. Quote Posting Guidelines
*Experts* Nerseus Posted November 19, 2003 *Experts* Posted November 19, 2003 I don't know about Access, but in SQL Server we had to define out relationships manually. This was because we use stored procedures to return multiple tables at once. It wasn't as simple as "SELECT * FROM Table1" so I don't think there could be any built-in relationship mapping for us. For Access, if you're doing single table selects it might work - not sure, but try Derek's idea :) -nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Denaes Posted November 19, 2003 Author Posted November 19, 2003 I just got a better database book also ("Database Prorgramming with VB.Net" by A!). I had ADO.Net by Microsoft, which was the worst computer book I have on my shelf now. I'll look into the fillschema method. I'm thinking its just less complex to just make the tables in access and do the relationships in .Net. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.