I put this code in the init section of the page, and I have tried not putting quotes qround the query name - it just throws an error.

Any comments appreciated.

Antworten:

Joel,

I f I understand what you are trying to do I think you may have the wrong approach. The combo box is built on a query so that it should always be linked to that query. If you want to display two sets of data conditionally I would use two combo boxes, one populated by your "istest" query and another populated by your "isnottest" query. Then simply use the conditional event to make the appropriate combo visible and the other invisible and vice versa.

HTH

Miltonvon Milton - am 23.08.2009 03:14

Hi Joel,

Look at the BrowsedFile property.

Regards,
Pietvon Piet van Zanten - am 23.08.2009 08:05

Hi Joel,

You can also load the combo by executing the query and then
FOR EACH QueryName
LIstAdd(....)
END