Click here to Skip to main content
15,899,754 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: requirements Pin
Dave Kreskowiak24-Jan-07 2:32
mveDave Kreskowiak24-Jan-07 2:32 
Questioncoding for retriving and save data in vb6 Pin
Sissy1222-Jan-07 22:59
Sissy1222-Jan-07 22:59 
AnswerRe: coding for retriving and save data in vb6 Pin
Parwej Ahamad23-Jan-07 0:38
professionalParwej Ahamad23-Jan-07 0:38 
QuestionAdding a new record to a DataTable with Identity column Pin
MatthysDT22-Jan-07 20:58
MatthysDT22-Jan-07 20:58 
AnswerRe: Adding a new record to a DataTable with Identity column Pin
shreekar22-Jan-07 21:59
shreekar22-Jan-07 21:59 
GeneralRe: Adding a new record to a DataTable with Identity column Pin
MatthysDT22-Jan-07 22:17
MatthysDT22-Jan-07 22:17 
GeneralRe: Adding a new record to a DataTable with Identity column Pin
shreekar22-Jan-07 22:26
shreekar22-Jan-07 22:26 
GeneralRe: Adding a new record to a DataTable with Identity column Pin
MatthysDT22-Jan-07 22:56
MatthysDT22-Jan-07 22:56 
Because the DataTable is filled with only one record, when adding a new one, I basically clear the data from the DataTable to enter the new record, but the communication between the actual DB and my application is lacking because it the identity that's automatically entered into the PK column is one bigger than the last record the DataTable was filled with, and from there on, every new record is given a PK value of 1 more than the last one.

Say the next entry in my DB requires a ID of 2110, but my DataTable is loaded with a record ID:1152, clicking my new record button which does a BindingSource.AddNew() adds a record with ID 1153.

"you can't forget something you never knew..." M. Du Toit

"Watching Migthy Joe Young made me hate my life..................................I want a gorilla!" A. Havemann

QuestionThreading issue Pin
Sandeep_S22-Jan-07 18:48
Sandeep_S22-Jan-07 18:48 
AnswerRe: Threading issue Pin
Christian Graus22-Jan-07 18:52
protectorChristian Graus22-Jan-07 18:52 
GeneralRe: Threading issue Pin
Sandeep_S22-Jan-07 19:07
Sandeep_S22-Jan-07 19:07 
GeneralRe: Threading issue Pin
Christian Graus22-Jan-07 19:54
protectorChristian Graus22-Jan-07 19:54 
GeneralRe: Threading issue Pin
Sandeep_S22-Jan-07 20:05
Sandeep_S22-Jan-07 20:05 
GeneralRe: Threading issue Pin
Christian Graus22-Jan-07 20:09
protectorChristian Graus22-Jan-07 20:09 
GeneralRe: Threading issue Pin
Sandeep_S22-Jan-07 20:28
Sandeep_S22-Jan-07 20:28 
GeneralRe: Threading issue Pin
Christian Graus22-Jan-07 20:35
protectorChristian Graus22-Jan-07 20:35 
GeneralRe: Threading issue Pin
Sandeep_S22-Jan-07 20:50
Sandeep_S22-Jan-07 20:50 
GeneralRe: Threading issue Pin
Christian Graus22-Jan-07 20:56
protectorChristian Graus22-Jan-07 20:56 
AnswerRe: Threading issue Pin
Guffa22-Jan-07 19:16
Guffa22-Jan-07 19:16 
GeneralRe: Threading issue Pin
Sandeep_S22-Jan-07 19:19
Sandeep_S22-Jan-07 19:19 
AnswerRe: Threading issue Pin
Guffa22-Jan-07 19:43
Guffa22-Jan-07 19:43 
GeneralRe: Threading issue Pin
Sandeep_S22-Jan-07 19:53
Sandeep_S22-Jan-07 19:53 
AnswerRe: Threading issue Pin
Guffa22-Jan-07 21:22
Guffa22-Jan-07 21:22 
GeneralRe: Threading issue Pin
Sandeep_S22-Jan-07 21:51
Sandeep_S22-Jan-07 21:51 
GeneralRe: Threading issue Pin
shreekar22-Jan-07 21:55
shreekar22-Jan-07 21:55 

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.