Hi Andrew,

Alle 16:51, martedì 6 settembre 2005, Andrew Jensen ha scritto:
> Hi
>
> I have the following question.
>
> I have a dataform with a Combobox control and want to change the SQL
> selection statement at run time, how do I get the control to refetch the
> data?
[...]
> ComboBox2.ListSource = sSQL
>
> .nope... still no refetch.
>
> This is on OO.o 1.9.125 & 1.9.126

Just tried in m122 and it works.
What is the content of sSQL ? Does it work if you set it manually in the combo 
box property-dialog ?

Have you checked the value of the prop ListSourceType ?
http://api.openoffice.org/docs/common/ref/com/sun/star/form/ListSourceType.html


regards
Paolo M

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to