troubleshooting Question

Accessing MS Access through VB.NET

Avatar of u7c76
u7c76 asked on
Visual Basic.NET
3 Comments1 Solution283 ViewsLast Modified:
I'm currently developing a VB.net win forms application.  This application uses MS Access 2000 for the database.  When inserting into a table, the primary key is an autonumber. Then I need to insert this autonumber into this other table.  This autonumber is a foriegn key in this other table.  Is there an easy way to get what the value of the autonumber of the table at the time of insert, or do I need to write a query to retrieve this value.

Thanks,
Brian
ASKER CERTIFIED SOLUTION
YZlat

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros