Click here to Skip to main content
15,888,113 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Server upgrade Problem Pin
JimmyRopes3-Jan-06 23:34
professionalJimmyRopes3-Jan-06 23:34 
QuestionSQL command optimization Pin
Wjousts2-Jan-06 10:06
Wjousts2-Jan-06 10:06 
AnswerRe: SQL command optimization Pin
Michael Flanakin3-Jan-06 3:05
Michael Flanakin3-Jan-06 3:05 
GeneralRe: SQL command optimization Pin
Wjousts3-Jan-06 11:02
Wjousts3-Jan-06 11:02 
AnswerRe: SQL command optimization Pin
Michael Flanakin4-Jan-06 2:26
Michael Flanakin4-Jan-06 2:26 
QuestionNeed help for the trigger Pin
rs_net1-Jan-06 17:52
rs_net1-Jan-06 17:52 
AnswerRe: Need help for the trigger Pin
Colin Angus Mackay2-Jan-06 4:06
Colin Angus Mackay2-Jan-06 4:06 
QuestionPlease, Help me. I am really LOST Pin
alexvw1-Jan-06 14:47
alexvw1-Jan-06 14:47 
First of all: HAPPY NEW YEAR TO YOU ALL.

The following code executed ONCE and it works just fine. But it fails for subsequent calls, given the following error msg: “No Transaction in Active”.

Private Sub Update_Account()
Dim T_OwnRec, A_OwnRec, P_OwnRec As Boolean
T_OwnRec = Data.Get_TCount
A_OwnRec = Data.Get_ACount
P_OwnRec = Data.Get_PCount

Try
'****ERROR
Data.Con.BeginTrans()
'****ERROR

If Update_All(T_OwnRec, A_OwnRec, P_OwnRec) = True Then
Data.Con.CommitTrans()
Trigger_Thread2LoadTags()
Else
Data.Con.RollbackTrans()
MiniMe = False
MsgBox("The Account could not be updated!!!", MsgBoxStyle.Information, "Unexpected error at:" & t_Str)
MiniMe = True
End If
Catch
Data.Con.RollbackTrans()
Handle_Error(Err, "Update_Account")
End Try
End Sub

The error is generated at the "Data.Con.BeginTrans". CAN ANYBODY OFFER SOME HELP. THANKS A LOT GUYS/GIRLS Smile | :)

A VERY LOST NEW GUY Smile | :)
AnswerRe: Please, Help me. I am really LOST Pin
Colin Angus Mackay1-Jan-06 15:16
Colin Angus Mackay1-Jan-06 15:16 
GeneralRe: Please, Help me. I am really LOST Pin
alexvw2-Jan-06 2:15
alexvw2-Jan-06 2:15 
GeneralRe: Please, Help me. I am really LOST Pin
Colin Angus Mackay2-Jan-06 2:38
Colin Angus Mackay2-Jan-06 2:38 
GeneralRe: Please, Help me. I am really LOST Pin
alexvw2-Jan-06 2:35
alexvw2-Jan-06 2:35 
AnswerRe: Please, Help me. I am really LOST Pin
S. Akif Kamal1-Jan-06 20:02
S. Akif Kamal1-Jan-06 20:02 
GeneralRe: Please, Help me. I am really LOST Pin
alexvw2-Jan-06 2:17
alexvw2-Jan-06 2:17 
GeneralRe: Please, Help me. I am really LOST Pin
alexvw2-Jan-06 2:35
alexvw2-Jan-06 2:35 
GeneralRe: Please, Help me. I am really LOST Pin
Colin Angus Mackay2-Jan-06 2:40
Colin Angus Mackay2-Jan-06 2:40 
GeneralRe: Please, Help me. I am really LOST Pin
Rob Graham2-Jan-06 4:49
Rob Graham2-Jan-06 4:49 
GeneralRe: Please, Help me. I am really LOST Pin
S. Akif Kamal2-Jan-06 19:26
S. Akif Kamal2-Jan-06 19:26 
Questionado in pascal Pin
aspnet_221-Jan-06 9:09
aspnet_221-Jan-06 9:09 
AnswerRe: ado in pascal Pin
André Ziegler1-Jan-06 12:22
André Ziegler1-Jan-06 12:22 
GeneralRe: ado in pascal Pin
aspnet_221-Jan-06 22:58
aspnet_221-Jan-06 22:58 
GeneralRe: ado in pascal Pin
André Ziegler1-Jan-06 23:58
André Ziegler1-Jan-06 23:58 
AnswerRe: SQL Optimization Pin
Colin Angus Mackay30-Dec-05 9:00
Colin Angus Mackay30-Dec-05 9:00 
General[Message Deleted] Pin
VickyC#31-Dec-05 3:10
VickyC#31-Dec-05 3:10 
GeneralRe: SQL Optimization Pin
Paul Conrad2-Jan-06 12:09
professionalPaul Conrad2-Jan-06 12: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.