How to: Load Combobox from sql "select" command
Posted: Thu Aug 25, 2011 3:57 am
Hi,
I've a problem with the loading of a combobox in a dialog installaware.
My problem is that I tried to load the item of the combo with the result of a select command sql.
I tried to use the installaware command "MS SQL Server" in this mode:
~InstallAware Clipboard Data~
~MS SQL Server~
~{7B3760E7-D729-4032-AC09-EC59E8CF08A4}~
~$SERVER$,$ISTANCE$,$DB$,$USER$,$PWD$,EDS,"SELECT [Field] FROM [Dbl].[dbo].[Table]$NEWLINE$GO",0,0~
~mMSSQLIDE.dll\mMSSQLExec.dll~
And then I've modified the items property of combo with $EDS$.
But the result of the variables is "SUCCESS" and not the result of the select command.
WHY?
Any help will be appreciated.Thanks.
Bye
I've a problem with the loading of a combobox in a dialog installaware.
My problem is that I tried to load the item of the combo with the result of a select command sql.
I tried to use the installaware command "MS SQL Server" in this mode:
~InstallAware Clipboard Data~
~MS SQL Server~
~{7B3760E7-D729-4032-AC09-EC59E8CF08A4}~
~$SERVER$,$ISTANCE$,$DB$,$USER$,$PWD$,EDS,"SELECT [Field] FROM [Dbl].[dbo].[Table]$NEWLINE$GO",0,0~
~mMSSQLIDE.dll\mMSSQLExec.dll~
And then I've modified the items property of combo with $EDS$.
But the result of the variables is "SUCCESS" and not the result of the select command.
WHY?
Any help will be appreciated.Thanks.
Bye