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

Visual Basic

 
GeneralRe: Structures and Arrays question Pin
Kschuler9-Oct-06 2:57
Kschuler9-Oct-06 2:57 
QuestionWriting a wrapper Pin
cstrader2326-Oct-06 5:39
cstrader2326-Oct-06 5:39 
AnswerRe: Writing a wrapper Pin
nlarson1118-Oct-06 9:55
nlarson1118-Oct-06 9:55 
QuestionProgrammatically save excel changes Pin
zenithmaximus6-Oct-06 2:21
zenithmaximus6-Oct-06 2:21 
AnswerRe: Programmatically save excel changes Pin
Veloci9-Oct-06 22:56
Veloci9-Oct-06 22:56 
Question.NET remoting event handler problem Pin
mandrake_26-Oct-06 2:11
mandrake_26-Oct-06 2:11 
Questionupdating another field with the primary key Pin
anne lewis6-Oct-06 1:45
anne lewis6-Oct-06 1:45 
AnswerRe: updating another field with the primary key Pin
Dave Sexton6-Oct-06 2:26
Dave Sexton6-Oct-06 2:26 
Hmmm... My answers depend on how the recordID is generated. I'm assuming it's based on an auto incrementing number.

Three suggestions for different scenarios -

1. If there's only one user accessing the database you could probably write code to logically "guess" what the record ID would be. If the record ID is auto incremented then this would probably work really well though it's bad practice.

2. If there's a number of concurrent users accessing the database then you could save the record, query the database to get the new record ID & update that field saving it back to the database. That seems like too much work though, doesn't it? At least you'll be sure that you've got the right data.

3. If you're using an SQL database I think (but unsure) you could write a trigger for the record ID to be inserted once the record is saved.
GeneralRe: updating another field with the primary key Pin
anne lewis6-Oct-06 3:07
anne lewis6-Oct-06 3:07 
AnswerMessage Removed Pin
6-Oct-06 3:05
Costica U6-Oct-06 3:05 
GeneralRe: updating another field with the primary key Pin
anne lewis6-Oct-06 3:19
anne lewis6-Oct-06 3:19 
AnswerRe: updating another field with the primary key Pin
Guffa6-Oct-06 4:42
Guffa6-Oct-06 4:42 
QuestionDelphi: in at the deep end Pin
lil_nicci6-Oct-06 1:04
lil_nicci6-Oct-06 1:04 
AnswerRe: Delphi: in at the deep end Pin
User 17164926-Oct-06 4:53
professionalUser 17164926-Oct-06 4:53 
GeneralRe: Delphi: in at the deep end Pin
lil_nicci8-Oct-06 23:11
lil_nicci8-Oct-06 23:11 
QuestionHow to get list of windows users only Pin
Ali 1105-Oct-06 19:10
Ali 1105-Oct-06 19:10 
AnswerRe: How to get list of windows users only Pin
Dave Kreskowiak6-Oct-06 4:26
mveDave Kreskowiak6-Oct-06 4:26 
QuestionVB.net and System.Uint32 Pin
0pius5-Oct-06 14:59
0pius5-Oct-06 14:59 
AnswerRe: VB.net and System.Uint32 Pin
Christian Graus5-Oct-06 15:49
protectorChristian Graus5-Oct-06 15:49 
GeneralRe: VB.net and System.Uint32 Pin
0pius5-Oct-06 19:41
0pius5-Oct-06 19:41 
GeneralRe: VB.net and System.Uint32 Pin
Christian Graus5-Oct-06 21:01
protectorChristian Graus5-Oct-06 21:01 
QuestionReversing Texbox Characters when typed Pin
MotorMaxDrive5-Oct-06 14:51
MotorMaxDrive5-Oct-06 14:51 
AnswerRe: Reversing Texbox Characters when typed Pin
Christian Graus5-Oct-06 15:53
protectorChristian Graus5-Oct-06 15:53 
AnswerRe: Reversing Texbox Characters when typed Pin
J4amieC6-Oct-06 0:19
J4amieC6-Oct-06 0:19 
QuestionDirectory.getfiles Method Pin
GeorgieMPorgie5-Oct-06 13:54
GeorgieMPorgie5-Oct-06 13:54 

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.