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
- :
- Passing a value to a sql script
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Mar 09, 2009
05:40 PM
Passing a value to a sql script
I am doing an Installscript project.
I query the user for the path and file name to use in backing up a sql database using an sql script.
I know I need to use a "text replacement" to modify my sql script
but I don't have any idea how to move the value of the filename into the field
"Replace With" in the "text Replacement" tab of the SQL Scripts part of Installation designer
In my installscript the field is called "szFileAndFolder" and it appears in the messagebox. How do I get it into a system variable (??) to use by the sql script??
the code follows:
Dlg_SdAskBackupPath:
//getBackupLocation();
szFileAndFolder = "";
getFile(szFileAndFolder);
MessageBox( szFileAndFolder, SEVERE );
I query the user for the path and file name to use in backing up a sql database using an sql script.
I know I need to use a "text replacement" to modify my sql script
but I don't have any idea how to move the value of the filename into the field
"Replace With" in the "text Replacement" tab of the SQL Scripts part of Installation designer
In my installscript the field is called "szFileAndFolder" and it appears in the messagebox. How do I get it into a system variable (??) to use by the sql script??
the code follows:
Dlg_SdAskBackupPath:
//getBackupLocation();
szFileAndFolder = "";
getFile(szFileAndFolder);
MessageBox( szFileAndFolder, SEVERE );
(1) Reply