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

Visual Basic

 
QuestionRe: Check Computer Administrator Pin
Gagan.2025-Sep-08 1:26
Gagan.2025-Sep-08 1:26 
AnswerRe: Check Computer Administrator Pin
Jon_Boy25-Sep-08 3:56
Jon_Boy25-Sep-08 3:56 
QuestionOnBeforeKeyPress Pin
Ballita24-Sep-08 18:49
Ballita24-Sep-08 18:49 
AnswerRe: OnBeforeKeyPress Pin
User 81152324-Sep-08 19:08
User 81152324-Sep-08 19:08 
QuestionAsking about Updating SQL Database row Pin
drexler_kk24-Sep-08 18:24
drexler_kk24-Sep-08 18:24 
AnswerRe: Asking about Updating SQL Database row Pin
Johan Hakkesteegt24-Sep-08 22:03
Johan Hakkesteegt24-Sep-08 22:03 
GeneralRe: Asking about Updating SQL Database row Pin
drexler_kk24-Sep-08 22:46
drexler_kk24-Sep-08 22:46 
GeneralRe: Asking about Updating SQL Database row Pin
Johan Hakkesteegt25-Sep-08 0:35
Johan Hakkesteegt25-Sep-08 0:35 
Hi Drex,


drexler_kk wrote:
' " & TerminalLocate & " ' to >> '"& TerminalLocate &"'


Actually the problem was apparently as I described, but you did indeed solve it.

Your variable TerminalLocate was correct, but because of the spaces between the single quotes and the double quotes, your code executed the UPDATE statement with the parameter value:
" KK " instead of "KK" as you needed.

In other words, in your code the update statement became:
UPDATE WhatWasYourTablesNameAgain SET WhatWasThatFieldsNameAgain = 'blablabla' WHERE TerminalCode = ' KK '

instead of:
UPDATE WhatWasYourTablesNameAgain SET WhatWasThatFieldsNameAgain = 'blablabla' WHERE TerminalCode = 'KK'


So yes, it was because of the spaces... Wink | ;)

My advice is free, and you may get what you paid for.

QuestionFormat Dates of TextBox or DateTimePicker Pin
sur07124-Sep-08 15:26
sur07124-Sep-08 15:26 
AnswerRe: Format Dates of TextBox or DateTimePicker Pin
User 81152324-Sep-08 17:52
User 81152324-Sep-08 17:52 
GeneralRe: Format Dates of TextBox or DateTimePicker Pin
sur07124-Sep-08 23:41
sur07124-Sep-08 23:41 
GeneralRe: Format Dates of TextBox or DateTimePicker Pin
User 81152325-Sep-08 10:21
User 81152325-Sep-08 10:21 
QuestionWeird IE7 DocumentComplete Error. Pin
User 81152324-Sep-08 12:23
User 81152324-Sep-08 12:23 
AnswerRe: Weird IE7 DocumentComplete Error. Pin
Steven J Jowett24-Sep-08 13:05
Steven J Jowett24-Sep-08 13:05 
GeneralRe: Weird IE7 DocumentComplete Error. Pin
User 81152324-Sep-08 15:41
User 81152324-Sep-08 15:41 
GeneralRe: Weird IE7 DocumentComplete Error. Pin
Johan Hakkesteegt24-Sep-08 21:42
Johan Hakkesteegt24-Sep-08 21:42 
GeneralRe: Weird IE7 DocumentComplete Error. [modified] Pin
User 81152325-Sep-08 10:14
User 81152325-Sep-08 10:14 
GeneralRe: Weird IE7 DocumentComplete Error. [modified] Pin
User 81152325-Sep-08 12:03
User 81152325-Sep-08 12:03 
QuestionFont Color Change Pin
Member 457761924-Sep-08 8:42
Member 457761924-Sep-08 8:42 
AnswerRe: Font Color Change Pin
Dave Kreskowiak24-Sep-08 9:34
mveDave Kreskowiak24-Sep-08 9:34 
AnswerRe: Font Color Change Pin
Paul Conrad24-Sep-08 10:57
professionalPaul Conrad24-Sep-08 10:57 
AnswerRe: Font Color Change Pin
Steven J Jowett24-Sep-08 11:13
Steven J Jowett24-Sep-08 11:13 
GeneralRe: Font Color Change Pin
Paul Conrad24-Sep-08 11:27
professionalPaul Conrad24-Sep-08 11:27 
GeneralRe: Font Color Change Pin
Steven J Jowett24-Sep-08 11:35
Steven J Jowett24-Sep-08 11:35 
GeneralRe: Font Color Change Pin
Member 457761924-Sep-08 13:09
Member 457761924-Sep-08 13:09 

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.