Click here to Skip to main content
15,916,417 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to set a timetable Pin
Christian Graus20-Jun-07 23:21
protectorChristian Graus20-Jun-07 23:21 
AnswerRe: how to set a timetable Pin
Vasudevan Deepak Kumar20-Jun-07 23:32
Vasudevan Deepak Kumar20-Jun-07 23:32 
QuestionRecord Locking. Pin
Sonia Gupta20-Jun-07 23:16
Sonia Gupta20-Jun-07 23:16 
AnswerRe: Record Locking. Pin
Christian Graus20-Jun-07 23:47
protectorChristian Graus20-Jun-07 23:47 
QuestionRe: Record Locking. Pin
Sonia Gupta21-Jun-07 0:08
Sonia Gupta21-Jun-07 0:08 
AnswerRe: Record Locking. Pin
Christian Graus21-Jun-07 0:20
protectorChristian Graus21-Jun-07 0:20 
GeneralRe: Record Locking. Pin
Sonia Gupta21-Jun-07 0:26
Sonia Gupta21-Jun-07 0:26 
GeneralRe: Record Locking. Pin
Dave Kreskowiak21-Jun-07 4:37
mveDave Kreskowiak21-Jun-07 4:37 
It seems standard practice is to include Modified field in your tables that holds last timestamp of the last modification of that record. When you go to get data from the database, you also make sure you grab the Modified field for your records. During the UPDATE, your SQL statement must match the recordID AND Modified time that you fetched. If the modified time doesn't match, the record has been modified by someone else while you were looking. The update will, of course, fail. This will mean that there is a concurrency violation and you'll have to handle this condition as you see fit.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


AnswerRe: Record Locking. Pin
andyharman21-Jun-07 3:05
professionalandyharman21-Jun-07 3:05 
AnswerRe: Record Locking. Pin
AlexeiXX321-Jun-07 4:58
AlexeiXX321-Jun-07 4:58 
QuestionRegistry subitems. Pin
Sonia Gupta20-Jun-07 22:58
Sonia Gupta20-Jun-07 22:58 
AnswerRe: Registry subitems. Pin
Dave Kreskowiak21-Jun-07 4:31
mveDave Kreskowiak21-Jun-07 4:31 
QuestionLTRim & RTrim Methods Pin
Aman.Jen20-Jun-07 22:28
Aman.Jen20-Jun-07 22:28 
GeneralRe: LTRim & RTrim Methods Pin
Sanjay Kunjam20-Jun-07 22:56
Sanjay Kunjam20-Jun-07 22:56 
AnswerRe: LTRim & RTrim Methods Pin
koolprasad200320-Jun-07 23:11
professionalkoolprasad200320-Jun-07 23:11 
GeneralRe: LTRim & RTrim Methods Pin
Aman.Jen20-Jun-07 23:34
Aman.Jen20-Jun-07 23:34 
GeneralRe: LTRim & RTrim Methods Pin
Christian Graus20-Jun-07 23:46
protectorChristian Graus20-Jun-07 23:46 
QuestionCD ROM Autorun program Pin
Tim-mac20-Jun-07 22:10
Tim-mac20-Jun-07 22:10 
AnswerRe: CD ROM Autorun program Pin
Christian Graus20-Jun-07 23:17
protectorChristian Graus20-Jun-07 23:17 
GeneralRe: CD ROM Autorun program Pin
Tim-mac21-Jun-07 1:45
Tim-mac21-Jun-07 1:45 
Questionhow do i search a value using combo box in vb.net Pin
sathyan_829420-Jun-07 22:06
sathyan_829420-Jun-07 22:06 
QuestionRe: how do i search a value using combo box in vb.net Pin
Sanjay Kunjam20-Jun-07 23:11
Sanjay Kunjam20-Jun-07 23:11 
AnswerRe: how do i search a value using combo box in vb.net Pin
Rupesh Kumar Swami21-Jun-07 0:52
Rupesh Kumar Swami21-Jun-07 0:52 
GeneralRe: how do i search a value using combo box in vb.net Pin
AlexeiXX321-Jun-07 5:11
AlexeiXX321-Jun-07 5:11 
QuestionName Spaces in VB.Net Pin
Aman.Jen20-Jun-07 20:01
Aman.Jen20-Jun-07 20:01 

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.