cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mike_lester
Level 2

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 );
Labels (1)
0 Kudos
(1) Reply
hidenori
Level 17

Please check out this thread.
0 Kudos