Click here to Skip to main content
15,890,690 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Trouble with Shell and Sendkeys Pin
Eddy Vluggen23-Oct-13 7:29
professionalEddy Vluggen23-Oct-13 7:29 
GeneralRe: Trouble with Shell and Sendkeys Pin
Dave Kreskowiak23-Oct-13 9:01
mveDave Kreskowiak23-Oct-13 9:01 
GeneralRe: Trouble with Shell and Sendkeys Pin
Member 1034848623-Oct-13 20:49
Member 1034848623-Oct-13 20:49 
GeneralRe: Trouble with Shell and Sendkeys Pin
Dave Kreskowiak24-Oct-13 3:15
mveDave Kreskowiak24-Oct-13 3:15 
QuestionUpdating data in fields Pin
SPSandy19-Oct-13 21:38
SPSandy19-Oct-13 21:38 
AnswerRe: Updating data in fields Pin
Dave Kreskowiak20-Oct-13 3:19
mveDave Kreskowiak20-Oct-13 3:19 
GeneralRe: Updating data in fields Pin
SPSandy20-Oct-13 15:57
SPSandy20-Oct-13 15:57 
GeneralRe: Updating data in fields Pin
Dave Kreskowiak20-Oct-13 17:00
mveDave Kreskowiak20-Oct-13 17:00 
It's not the correct way of doing this, but, it's your system...

What you lose doing it your way is the ability to roll back any mistakes. History values will be lost if your updates exceed 3 and you try to roll it back. Also, if the user makes a mistake and hits your UPDATE button twice (if not handled properly!), say, in a web app, you could commit the same change to the record more than once and not be able to roll it back.

It's possible to do in a single SQL UPDATE statement. From my feeble memory...
UPDATE yourTable
SET
    MRP = @parameterNewValue,
    MRP1 = MRP,
    MRP2 = MRP1,
    MRP3 = MRP2
WHERE Id = @parameterRecordId


GeneralRe: Updating data in fields Pin
SPSandy21-Oct-13 0:14
SPSandy21-Oct-13 0:14 
GeneralRe: Updating data in fields Pin
Dave Kreskowiak21-Oct-13 1:35
mveDave Kreskowiak21-Oct-13 1:35 
GeneralRe: Updating data in fields Pin
Mycroft Holmes20-Oct-13 17:56
professionalMycroft Holmes20-Oct-13 17:56 
QuestionImporting rss to openoffice Pin
joestudent1219-Oct-13 4:34
joestudent1219-Oct-13 4:34 
AnswerRe: Importing rss to openoffice Pin
Kenneth Haugland19-Oct-13 5:05
mvaKenneth Haugland19-Oct-13 5:05 
QuestionDuplicate document on memory... is it possible (VBA, Word 2010 Macro) Pin
rbid18-Oct-13 5:25
rbid18-Oct-13 5:25 
AnswerRe: Duplicate document on memory... is it possible (VBA, Word 2010 Macro) Pin
TnTinMn19-Oct-13 8:07
TnTinMn19-Oct-13 8:07 
QuestionFormat json file (read and processing it) Pin
Ammar_Ahmad17-Oct-13 8:17
Ammar_Ahmad17-Oct-13 8:17 
AnswerRe: Format json file (read and processing it) Pin
Richard Deeming17-Oct-13 8:56
mveRichard Deeming17-Oct-13 8:56 
QuestionDatagrid view problem Pin
Member 1019283517-Oct-13 1:40
Member 1019283517-Oct-13 1:40 
AnswerRe: Datagrid view problem Pin
Chris Quinn17-Oct-13 3:32
Chris Quinn17-Oct-13 3:32 
AnswerRe: Datagrid view problem Pin
thatraja17-Oct-13 4:38
professionalthatraja17-Oct-13 4:38 
AnswerRe: Datagrid view problem Pin
GuyThiebaut17-Oct-13 5:45
professionalGuyThiebaut17-Oct-13 5:45 
Questionread DXF File using VB.NET Pin
osama5000016-Oct-13 22:28
osama5000016-Oct-13 22:28 
AnswerRe: read DXF File using VB.NET Pin
Simon_Whale16-Oct-13 23:01
Simon_Whale16-Oct-13 23:01 
QuestionAlgorithm for matching database records? Pin
Wombaticus15-Oct-13 22:45
Wombaticus15-Oct-13 22:45 
AnswerRe: Algorithm for matching database records? Pin
Richard Deeming16-Oct-13 0:05
mveRichard Deeming16-Oct-13 0:05 

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.