How do I set the text in the Database dialog from a search - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

hollystyles
Posts: 4
Joined: Fri Jul 23, 2010 3:16 pm

How do I set the text in the Database dialog from a search

I have added a search that reads a database name from the registry into a property.

How do I put the result of that search as the default value of a simple edit control on my Sql Connection dialogue ?

I have tried clicking the ellipsis button in the property pane for Display->Text property and selecting my property but that does nothing.
I have tried putting my property name (in square brackets) in the Default Value property but that doesn't work either.

Help! :)
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: How do I set the text in the Database dialog from a search

Hello,

To achieve the desired effect, simply put your set the property associated with the simple edit to the search result property. This involves changing the simple edit's "Property Name" field.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”