Solved

Field Id can't be modified

Posted on 2009-07-15
3
425 Views
Last Modified: 2013-11-23
I have a database with Id (auto_increment), Songtitle, Genre and Songtext.

The app that I created uses 2 ADOQueries, 1 master and the other just to copy temporary records to it from the master.

When I try this, but clicking a button, I get the message Field 'Id' can't be modified.

I use the field Id for numbers, because of its auto_increment (can't be used twice in the same table, otherwise I would use number).

Is there a solution for this?
0
Comment
Question by:delphiuser2009
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
FactorB earned 50 total points
ID: 24863951
Nope, you shouldn't modify autoincrement field.
As the name says it increments by itself.
If you still want to modify it, try to change it in table 2 in type number or double...

Regards,
B.
0
 

Author Comment

by:delphiuser2009
ID: 24864101
wow, thanks man, that worked.
I didnt think of that being so easy.
0
 
LVL 6

Expert Comment

by:FactorB
ID: 24864609
It is always easier when you try to find a solution for someone's problem,
it is much different when you try to do the same for yourself. :)

B.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

685 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