cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Joseph_Schrag
Level 6

Why does my SQL browse not always fill in the textbox?

I have a SQLLogin dialog that I have copied from another in my basic msi project (using the technique described here: http://community.flexerasoftware.com/showthread.php?t=171252&highlight=sqlbrowse). The dialog's db server browse button seems to work properly and populates it's results into the appropriate textbox. That is, unless the textbox has text in it already.

So, for example, if I manually type in the textbox, then use the browse button, the result from the browse dialog does not overwrite what I typed manually. However, if I go back to the previous dialog and the return to my sql login dialog, the text from the browse dialog is now in the text box.

Any ideas as to why this is happening?
Labels (1)
0 Kudos
(3) Replies
Joseph_Schrag
Level 6

Can anybody help here? This is pretty urgent.
0 Kudos
Vijay__K
Level 7

Hi,
I had the same problem. It is a limitation of the way installshield refreshes it's dialog fields. Text boxes only get refreshed when another event like the next,back buttons are pressed.

The workaround was to change the type of the TextBox to a Dropdown box in the control table (direct editor).

The downside to this is that a drop down arrow is displayed on the dialog.

Hope this helps.
Vijay.
0 Kudos
Joseph_Schrag
Level 6

Vijay, thanks for the response! I'll give that a shot.
0 Kudos