This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Fun with (not working) SQLRT Put / GetConnectionInfo
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 13, 2009
04:32 AM
Fun with (not working) SQLRT Put / GetConnectionInfo
I'm trying to get a SQL Script working and found follwing behavior I can't explain to myself:
//store data in case we need it again
SQLRTPutConnectionInfo2( szConnection, svServer, svDB, svUser, svPassword );
szConnection = "";
svServer = "";
svDB = "";
svUser = "";
svPassword = "";
SQLRTGetConnectionInfo( szConnection, svServer, svDB, svUser, svPassword );
That's really(!) simple Test, that seems to fail big time.
I moved the "Get" Part under the "Put" part, after I recognized that my GetConnectionInfo in another Part of the Project won't get any Data and it also won't get Data here. (see screenshot)
Or am I doing something wrong?
//store data in case we need it again
SQLRTPutConnectionInfo2( szConnection, svServer, svDB, svUser, svPassword );
szConnection = "";
svServer = "";
svDB = "";
svUser = "";
svPassword = "";
SQLRTGetConnectionInfo( szConnection, svServer, svDB, svUser, svPassword );
That's really(!) simple Test, that seems to fail big time.
I moved the "Get" Part under the "Put" part, after I recognized that my GetConnectionInfo in another Part of the Project won't get any Data and it also won't get Data here. (see screenshot)
Or am I doing something wrong?
(1) Reply
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 13, 2009
08:42 AM
Found it by myself: szConnection shouldn't get cleard