Solved
Forum Discussion
Henning
2 years agoValued Contributor II
I believe you have an error in your execution command:
Brapi.Database.ExecuteSql(aDbConn,aDbConn.ToString,False)
This should be the SQL command you wish to execute I believe
I.e. you need to use the (in your case) vSQL in the second position:
Brapi.Database.ExecuteSql(aDbConn, vSQL, False)
If that does not work, write your vSQL into the error log and analyze it there in order to see the final string that is supposed to be executed:
brapi.ErrorLog.LogMessage(si,"vSQL script: See details below.", vSQL)
- Krishna2 years agoValued Contributor
Thanks Henning. It was a good Catch and Now it is working.
Appreciate your quick help.
Related Content
- 4 years ago
- 2 years ago
- 4 years ago