>I have a drop-down list based on a query, calling requery method from the when event of the list and the query keeps repeating all time.
>If the code is paused by debug or if a wait command is placed at the wait event the query is just performed once as expected.
>I don't know if this is a problem with the form or with the data in the file. The same form runs well with a diferent instance of the data file.
>I think that if the problem were in the data, changes in the form wouldn't help (debugging and wait).
>
>I apreciate any help or suggestions
>
>TIA
Probably this is bug. But anyway it doesn't seem to me that When event is a good place for Requery. Would you like to consider Init event? If you have to refresh combo regarding to user operations you can add Requery method to other places (e.g. command buttons Click and so on). As far as I understand When event will fire any time you combo gets focus and this is waste of resources at least.
Edward Pikman
Independent Consultant