How to use listbox selection in another dialog - Advanced Installer Community
adrianl
Posts: 1
Joined: Wed Sep 23, 2015 12:18 pm

How to use listbox selection in another dialog

Hello,


I have followed the youtube(https://www.youtube.com/watch?v=h-HGoI36SVs) tutorial on SQL browsing, and have managed to get it to work, based on the instruction. What I am now trying to do, is to run an SQL script on the selected database. For that purpose I have created a Predefined connection, in which I populate the Server section with "SERVERS_BROWSE_LISTBOX" and the database part with "DATABASE_BROWSE_LISTBOX", and here comes the problem when I get to predefined connection the server and database fields are not populated with what I have previously selected, but with the first server and respectively the first database on the selected server. Hence I don't know how to populate these fields with the selected server respectively selected database.

Thx.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How to use listbox selection in another dialog

Hi and welcome to Advanced Installer forums,

Can you please send us the project file (.AIP) to support at advancedinstaller dot com so we can see your settings?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”