Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Autonumber to Manual number

Status
Not open for further replies.

PaulaB

Technical User
Mar 20, 2001
2
US
I have a database with 3 tables. I created 2 tables with the ID fields as the primary key and the data type autonumbers.

The 3rd table ID field is also the primary key, but the data type is number.

Data type - number - would work so much better for my other tables, but because of relationships and many forms and queries, I can't seem to change the data type. (There are also 3 "go-between" tables that are used to elimiate the problem of the many-to-many relationships between each table.)

Is there a simple way to change data type?

Thanks
 
You have to make sure that any other tables that use the primary keys as foreign keys are of the same data type. The autonumber type uses the format "Long Integer". You should be able to change the fields to "Number" type as long as you keep the format as "Long Integer". Have fun! :eek:)

Alex Middleton
 
Also see at thread181-106674 for updating of field.

Aivars
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top