Click here to Skip to main content
15,914,642 members
Home / Discussions / Database
   

Database

 
GeneralRe: Derived Columns in where clause Pin
Jörgen Andersson29-Jul-10 0:45
professionalJörgen Andersson29-Jul-10 0:45 
AnswerRe: Derived Columns in where clause Pin
Estys29-Jul-10 0:13
Estys29-Jul-10 0:13 
GeneralRe: Derived Columns in where clause Pin
SatyaKeerthi1529-Jul-10 0:29
SatyaKeerthi1529-Jul-10 0:29 
AnswerRe: Derived Columns in where clause [modified] Pin
Luc Pattyn29-Jul-10 0:55
sitebuilderLuc Pattyn29-Jul-10 0:55 
GeneralRe: Derived Columns in where clause Pin
SatyaKeerthi1529-Jul-10 1:03
SatyaKeerthi1529-Jul-10 1:03 
GeneralRe: Derived Columns in where clause Pin
Eddy Vluggen29-Jul-10 2:37
professionalEddy Vluggen29-Jul-10 2:37 
QuestionFailed to connect to server Pin
Alduin28-Jul-10 11:31
Alduin28-Jul-10 11:31 
AnswerRe: Failed to connect to server Pin
Luc Pattyn28-Jul-10 11:51
sitebuilderLuc Pattyn28-Jul-10 11:51 
Hi,

1.
IMO this is the right forum to ask.

2.
I'm no DB specialist at all, however I'll give you my ideas anyway.

3.
I suspect the line
strADOConnStringMaster = strADOConnStringMaster.ToString.Replace("Initial Catalog=" & objSystem.DatabaseName & ";", "Initial Catalog=master;")

for a couple of reasons:
a. I fail to see why ToString is used there
b. if the search fails, strADOConnStringMaster remains unchanged and nothing gets signaled. This could be caused by a difference in white space, in casing, in any minor detail.
So I'd suggest you clean up and code more defensively, if the replace has to happen, make sure it does, e.g. by storing the result in a different variable.

4.
I'm not familiar with the Err object (I use C# most of the time), however I doubt Err.ToString() is as informative as Exception.ToString() is, so I suggest you show ex.ToString() in a MessageBox.Show when an exception gets caught.


Hope this helps.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


AnswerRe: Failed to connect to server Pin
David Mujica29-Jul-10 2:52
David Mujica29-Jul-10 2:52 
QuestionDecimals in integer operations Pin
shreekar28-Jul-10 6:11
shreekar28-Jul-10 6:11 
QuestionRe: Decimals in integer operations Pin
shreekar28-Jul-10 6:20
shreekar28-Jul-10 6:20 
AnswerRe: Decimals in integer operations Pin
Eddy Vluggen28-Jul-10 6:33
professionalEddy Vluggen28-Jul-10 6:33 
GeneralRe: Decimals in integer operations Pin
shreekar28-Jul-10 6:35
shreekar28-Jul-10 6:35 
GeneralRe: Decimals in integer operations Pin
Eddy Vluggen28-Jul-10 6:53
professionalEddy Vluggen28-Jul-10 6:53 
AnswerRe: Decimals in integer operations Pin
shreekar28-Jul-10 6:34
shreekar28-Jul-10 6:34 
GeneralRe: Decimals in integer operations Pin
David Skelly28-Jul-10 6:38
David Skelly28-Jul-10 6:38 
AnswerRe: Decimals in integer operations Pin
David Skelly28-Jul-10 6:37
David Skelly28-Jul-10 6:37 
AnswerRe: Decimals in integer operations Pin
Luc Pattyn28-Jul-10 6:35
sitebuilderLuc Pattyn28-Jul-10 6:35 
GeneralRe: Decimals in integer operations Pin
shreekar28-Jul-10 6:56
shreekar28-Jul-10 6:56 
GeneralRe: Decimals in integer operations Pin
Luc Pattyn28-Jul-10 7:25
sitebuilderLuc Pattyn28-Jul-10 7:25 
GeneralRe: Decimals in integer operations Pin
David Skelly28-Jul-10 22:28
David Skelly28-Jul-10 22:28 
QuestionMSAccess 2003 flexGrid Error loading ActiveX Pin
SarahMcM28-Jul-10 1:50
SarahMcM28-Jul-10 1:50 
AnswerRe: MSAccess 2003 flexGrid Error loading ActiveX Pin
Eddy Vluggen28-Jul-10 5:19
professionalEddy Vluggen28-Jul-10 5:19 
GeneralRe: MSAccess 2003 flexGrid Error loading ActiveX Pin
SarahMcM28-Jul-10 12:02
SarahMcM28-Jul-10 12:02 
AnswerRe: MSAccess 2003 flexGrid Error loading ActiveX Pin
SarahMcM28-Jul-10 16:27
SarahMcM28-Jul-10 16:27 

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.