Solved

How to set the index to be autoincremented in an Access Database in VC++ 6.0

Posted on 2000-04-20
1
162 Views
Last Modified: 2013-11-20
Thanks

Demarcy
0
Comment
Question by:demarcy
1 Comment
 
LVL 4

Accepted Solution

by:
inpras earned 50 total points
ID: 2735190
U need not do anything just don't assign any value to that field assume m_auto is the field then

rs.AddNew();
rs.m_Name = "MyName";
rs.Update();

where rs has members m_auto which is set as auto in Database.... and m_Name which UR adding

Hope this helps
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
xyBalance chalenge 58 93
Tab names are off by one 5 54
mapBully challenge 6 127
Not needed 13 109
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now