Click here to Skip to main content
16,004,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Is MSDN wrong? Pin
zengkun10026-Apr-08 2:54
zengkun10026-Apr-08 2:54 
GeneralRe: Is MSDN wrong? Pin
CPallini26-Apr-08 4:12
mveCPallini26-Apr-08 4:12 
GeneralRe: Is MSDN wrong? Pin
zengkun10026-Apr-08 6:06
zengkun10026-Apr-08 6:06 
GeneralRe: Is MSDN wrong? Pin
peterchen27-Apr-08 0:40
peterchen27-Apr-08 0:40 
GeneralRe: Is MSDN wrong? Pin
zengkun10027-Apr-08 16:35
zengkun10027-Apr-08 16:35 
GeneralRe: Is MSDN wrong? Pin
peterchen27-Apr-08 20:30
peterchen27-Apr-08 20:30 
QuestionAbout AUTONUMBERS AND UPDATION Pin
savitri26-Apr-08 0:31
savitri26-Apr-08 0:31 
GeneralRe: About AUTONUMBERS AND UPDATION Pin
Christian Graus26-Apr-08 0:50
protectorChristian Graus26-Apr-08 0:50 
savitri wrote:
but when i am deleting it is not decrementing


No, it does not work that way. The end. If you want this behaviour, then you need to write your own code to do it, and not use an autonumber. And, that is ridiculous. Imagine you have 6 values. You delete value 4. You have anoher table that references this table ( that's the main thing the autonumbers are used for ). Why would you want to go and change the 5 and 6 to 4 and 5 AND try to change all references to them accordingly ? What if references exist out side the DB ?

It seems to me you have no idea about databases, and should be buying a beginners book and working through it.

Numeric types do not go into quotes.

UPDATE ADDRESSBOOK SET name ='fred' and Phonenumber = '123424243' where slNumber = 1

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

QuestionRe: About AUTONUMBERS AND UPDATION Pin
savitri26-Apr-08 2:07
savitri26-Apr-08 2:07 
GeneralRe: About AUTONUMBERS AND UPDATION Pin
MANISH RASTOGI26-Apr-08 2:19
MANISH RASTOGI26-Apr-08 2:19 
GeneralRe: About AUTONUMBERS AND UPDATION Pin
savitri26-Apr-08 2:23
savitri26-Apr-08 2:23 
GeneralRe: About AUTONUMBERS AND UPDATION Pin
MANISH RASTOGI26-Apr-08 2:27
MANISH RASTOGI26-Apr-08 2:27 
GeneralRe: About AUTONUMBERS AND UPDATION Pin
savitri26-Apr-08 2:36
savitri26-Apr-08 2:36 
GeneralRe: About AUTONUMBERS AND UPDATION Pin
Christian Graus26-Apr-08 11:10
protectorChristian Graus26-Apr-08 11:10 
GeneralRe: About AUTONUMBERS AND UPDATION Pin
Christian Graus26-Apr-08 0:50
protectorChristian Graus26-Apr-08 0:50 
QuestionHow to create a hidden folder? Pin
MD8425-Apr-08 22:23
MD8425-Apr-08 22:23 
GeneralRe: How to create a hidden folder? Pin
Rajkumar R25-Apr-08 23:56
Rajkumar R25-Apr-08 23:56 
QuestionHow do I pass String class to a function Pin
pl_kode25-Apr-08 22:21
pl_kode25-Apr-08 22:21 
AnswerRe: How do I pass String class to a function Pin
CPallini25-Apr-08 22:56
mveCPallini25-Apr-08 22:56 
GeneralRe: How do I pass String class to a function Pin
Cedric Moonen25-Apr-08 23:37
Cedric Moonen25-Apr-08 23:37 
AnswerRe: How do I pass String class to a function Pin
zengkun10026-Apr-08 2:56
zengkun10026-Apr-08 2:56 
QuestionDLL in Visual C++6 Pin
Member 430138525-Apr-08 19:31
Member 430138525-Apr-08 19:31 
GeneralRe: DLL in Visual C++6 Pin
Saurabh.Garg25-Apr-08 20:31
Saurabh.Garg25-Apr-08 20:31 
GeneralRe: DLL in Visual C++6 Pin
Hamid_RT25-Apr-08 20:40
Hamid_RT25-Apr-08 20:40 
GeneralCOM unable to obtain interface - Pin
act_x25-Apr-08 13:12
act_x25-Apr-08 13:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.