Click here to Skip to main content
16,005,169 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionAppending text Pin
Pasan1486-Dec-09 6:25
Pasan1486-Dec-09 6:25 
AnswerRe: Appending text Pin
dan!sh 6-Dec-09 6:36
professional dan!sh 6-Dec-09 6:36 
GeneralRe: Appending text Pin
Pasan1486-Dec-09 7:00
Pasan1486-Dec-09 7:00 
GeneralRe: Appending text Pin
Luc Pattyn6-Dec-09 7:06
sitebuilderLuc Pattyn6-Dec-09 7:06 
GeneralRe: Appending text Pin
Pasan1486-Dec-09 7:23
Pasan1486-Dec-09 7:23 
GeneralRe: Appending text Pin
Luc Pattyn6-Dec-09 7:55
sitebuilderLuc Pattyn6-Dec-09 7:55 
QuestionDo I have to manually create a recordNumber as primary key in dataset? Pin
JUNEYT6-Dec-09 3:29
JUNEYT6-Dec-09 3:29 
AnswerRe: Do I have to manually create a recordNumber as primary key in dataset? Pin
Dave Kreskowiak6-Dec-09 15:44
mveDave Kreskowiak6-Dec-09 15:44 
JUNEYT wrote:
it doesn't produce a new record number but -1.


New records get negative numbers because the dataset hasn't been written back to the database yet. The database always assigns the key values, not your code. Update the database with the changes being held in the dataset and your new records will get their keys will get updated with real values.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




Questionlistbox inconsistency Pin
Tim Kredlo5-Dec-09 22:23
Tim Kredlo5-Dec-09 22:23 
AnswerRe: listbox inconsistency Pin
Luc Pattyn6-Dec-09 1:23
sitebuilderLuc Pattyn6-Dec-09 1:23 
GeneralRe: listbox inconsistency Pin
Tim Kredlo6-Dec-09 7:41
Tim Kredlo6-Dec-09 7:41 
GeneralRe: listbox inconsistency Pin
Luc Pattyn6-Dec-09 7:59
sitebuilderLuc Pattyn6-Dec-09 7:59 
GeneralRe: listbox inconsistency Pin
Tim Kredlo6-Dec-09 8:41
Tim Kredlo6-Dec-09 8:41 
GeneralRe: listbox inconsistency Pin
Luc Pattyn6-Dec-09 8:46
sitebuilderLuc Pattyn6-Dec-09 8:46 
GeneralRe: listbox inconsistency Pin
Tim Kredlo6-Dec-09 9:00
Tim Kredlo6-Dec-09 9:00 
GeneralRe: listbox inconsistency Pin
Luc Pattyn6-Dec-09 9:15
sitebuilderLuc Pattyn6-Dec-09 9:15 
GeneralRe: listbox inconsistency Pin
Tim Kredlo6-Dec-09 10:52
Tim Kredlo6-Dec-09 10:52 
QuestionReplace function in vb6 with MS Access using adodb.recordset Pin
Tufail Ahmad4-Dec-09 18:16
Tufail Ahmad4-Dec-09 18:16 
AnswerRe: Replace function in vb6 with MS Access using adodb.recordset Pin
Luc Pattyn5-Dec-09 2:46
sitebuilderLuc Pattyn5-Dec-09 2:46 
QuestionShould I have to explicity create a dataset even it is already defined in design time? Pin
JUNEYT4-Dec-09 11:43
JUNEYT4-Dec-09 11:43 
AnswerRe: Should I have to explicity create a dataset even it is already defined in design time? Pin
T21024-Dec-09 12:46
T21024-Dec-09 12:46 
QuestionCustom Events Pin
#realJSOP4-Dec-09 0:29
professional#realJSOP4-Dec-09 0:29 
AnswerRe: Custom Events Pin
Geoff Williams4-Dec-09 1:23
Geoff Williams4-Dec-09 1:23 
AnswerRe: Custom Events Pin
Dave Kreskowiak4-Dec-09 3:40
mveDave Kreskowiak4-Dec-09 3:40 
QuestionCheck file infection by CRC32 Pin
Gagan.203-Dec-09 23:04
Gagan.203-Dec-09 23:04 

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.