David,
This code would probably work as expected if you placed it in the When() rather than the DropDown() event. In the DropDown() event, an changes to the list or properties that control the list seem to confuse VFP.
Also, why not use a RowSourceType of 5 (Array) and save a lot of list-building time?
Regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.