James, liked the look of your solution but I get the error message to the effect that the topItemId is read only..Harry,
VFP strikes again... The help for TopItemID says: "Specifies the item ID of the item that appears in the top-most position in a list. Not available at design time;
read-write at run time." (emphasis supplied).
I have not had any problems assigning a value to it during run time... Ummmm!
Neat flag you have! But isn't the Isle of Man British?
(Sorry, HTML syntax error in my last -- corrected here).
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.