473,406 Members | 2,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Modifying an existing Access 2000 database

Hi have a table of customers in Access and wish to add a primary key and
unique customer ID. Have been warned that adding customer ID field will
corrupt existing data. Is there a way it can be done?
Feb 5 '07 #1
2 995
I do this thru adox.

Its a .COM addition to your project, but it does the trick for me.

Search google for ADOX.

It may not be the best way...but thats how i added my fields thru an access
table.

Miro

"katiej" <ka****@discussions.microsoft.comwrote in message
news:27**********************************@microsof t.com...
Hi have a table of customers in Access and wish to add a primary key and
unique customer ID. Have been warned that adding customer ID field will
corrupt existing data. Is there a way it can be done?

Feb 5 '07 #2
On Mon, 5 Feb 2007 05:11:00 -0800, katiej <ka****@discussions.microsoft.comwrote:

¤ Hi have a table of customers in Access and wish to add a primary key and
¤ unique customer ID. Have been warned that adding customer ID field will
¤ corrupt existing data. Is there a way it can be done?

No it will not corrupt existing data. You can use Jet SQL DDL to accomplish this task.

http://msdn2.microsoft.com/en-us/lib...ffice.10).aspx
Paul
~~~~
Microsoft MVP (Visual Basic)
Feb 5 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Vikrant | last post by:
Hey friends Can someone please suggest that how many recordset can be opened simultaneously for a MS-Access 2000 Database.Does that make any difference if we use ODBC or some other way of...
4
by: ronald balk | last post by:
Dear people, after many efforts I'm putting my hope on you. Last week I changed a lot of forms and reports in an Access 2000 database. It all worked fine and I closed the database without any...
0
by: Miki T via .NET 247 | last post by:
Hi, I'm trying to "connect" a combobox with a simple Access 2000 database. The objective is to show the elements contained in a column of the DataBase (just a simple Datatable). Should be that...
1
by: sincethe2003 | last post by:
Which OleDbType is correct for DateTime field in Access 2000 database?
1
by: Eitan | last post by:
Hello, What is the easiest way to interface, from MFC, and Access 2000 database? Eitan
3
by: Richard Cleaveland | last post by:
A client has just successfully upgraded from Access 97 to 2000. I don't have Access 2000, but I do have Office XP. Can I successfully use my Access on their database? They kind of did this...
1
by: tomguy04 | last post by:
I have a table in an Access 2000 database and a web page. I want to use various pieces of data from this table to drive certain areas of the website, but I do not know how to do this. For...
2
by: hmyers | last post by:
We have converted an Access 97 database to Access 2000 on an XP machine. The application uses a DSN-less connection: adoConn1.Open "DRIVER={iSeries Access ODBC Driver};" & _...
13
yolenman
by: yolenman | last post by:
Hello - This is my first posting to this group, so please bear with me. Also note, that while I'm intelligent, databases are not in my field of knowledge. I'm working with a small limousine...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.