Click here to Skip to main content
15,915,087 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Resolution Pin
Christian Graus3-May-08 12:41
protectorChristian Graus3-May-08 12:41 
GeneralRe: Resolution Pin
Mycroft Holmes3-May-08 16:36
professionalMycroft Holmes3-May-08 16:36 
GeneralRe: Resolution Pin
Christian Graus3-May-08 16:49
protectorChristian Graus3-May-08 16:49 
Questiondetecting if screensaver is activated in VB 2005 Pin
GuildfordG3-May-08 2:55
GuildfordG3-May-08 2:55 
AnswerRe: detecting if screensaver is activated in VB 2005 Pin
jzonthemtn4-May-08 6:04
jzonthemtn4-May-08 6:04 
QuestionHow to bind two sql statement with commit in vb.net Pin
vb_buddy2-May-08 19:32
vb_buddy2-May-08 19:32 
AnswerRe: How to bind two sql statement with commit in vb.net Pin
Christian Graus2-May-08 21:15
protectorChristian Graus2-May-08 21:15 
GeneralRe: How to bind two sql statement with commit in vb.net Pin
vb_buddy4-May-08 7:12
vb_buddy4-May-08 7:12 
Hi,

Thanks so much for taking so much interest in reading and replying to my query.

Well, as advised by you I have asked my team to start working with paramaterized queries and sooner we will update it.

In the mean time what is churning me that why the Rollback doesnt take place. My application runs three modules. Each runs two sql statement; one Insert and one Update.

Insert is running fine in all the three modules. Update is running fine in two modules.

But in one problamatic module, the sql insert command is generated but the consequent update field is not getting updated.

Its like that say if Rs. 100 is added to an account in say Table1 than Table2 which holds all the balances of the accounts in Table1 needs to be updated.

Because its not getting updated, it shows a wrong balance. Thought the number of errors are one out of 1000 updates.

I have tested this commit part in my server by giving some wrong sql query and the rollback takes place. But while its live its giving no solution to us.

Can you please help with this commit part. Weather my process of commit is right. As such the transaction is very simple. If my query has any problem, than how come 999 time its workig fine and creating error just once.

Thanks again in advance.
GeneralRe: How to bind two sql statement with commit in vb.net Pin
Dave Kreskowiak4-May-08 7:22
mveDave Kreskowiak4-May-08 7:22 
GeneralRe: How to bind two sql statement with commit in vb.net Pin
vb_buddy4-May-08 19:24
vb_buddy4-May-08 19:24 
GeneralRe: How to bind two sql statement with commit in vb.net Pin
Dave Kreskowiak5-May-08 0:50
mveDave Kreskowiak5-May-08 0:50 
AnswerRe: How to bind two sql statement with commit in vb.net Pin
Tim Carmichael3-May-08 3:11
Tim Carmichael3-May-08 3:11 
AnswerRe: How to bind two sql statement with commit in vb.net Pin
Guffa3-May-08 6:40
Guffa3-May-08 6:40 
QuestionDatabase Tutorials Pin
Zaegra2-May-08 7:48
Zaegra2-May-08 7:48 
AnswerRe: Database Tutorials Pin
Rob Graham2-May-08 8:00
Rob Graham2-May-08 8:00 
GeneralRe: Database Tutorials Pin
Zaegra2-May-08 8:14
Zaegra2-May-08 8:14 
GeneralRe: Database Tutorials Pin
Christian Graus2-May-08 12:48
protectorChristian Graus2-May-08 12:48 
GeneralRe: Database Tutorials Pin
Mycroft Holmes2-May-08 16:27
professionalMycroft Holmes2-May-08 16:27 
GeneralRe: Database Tutorials Pin
Rob Graham3-May-08 4:30
Rob Graham3-May-08 4:30 
QuestionRe: Database Tutorials Pin
Luc Pattyn3-May-08 5:42
sitebuilderLuc Pattyn3-May-08 5:42 
QuestionAnyway around overloaded operators? Pin
cstrader2322-May-08 4:45
cstrader2322-May-08 4:45 
AnswerRe: Anyway around overloaded operators? Pin
Dave Kreskowiak2-May-08 4:55
mveDave Kreskowiak2-May-08 4:55 
GeneralRe: Anyway around overloaded operators? Pin
cstrader2322-May-08 5:01
cstrader2322-May-08 5:01 
GeneralRe: Anyway around overloaded operators? Pin
Christian Graus2-May-08 12:50
protectorChristian Graus2-May-08 12:50 
GeneralRe: Anyway around overloaded operators? Pin
Dave Kreskowiak2-May-08 20:20
mveDave Kreskowiak2-May-08 20:20 

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.