Hello folks,
Thanks to everybody for your speedy, helpful and throrough responses - VFP and UT is a fantastic way to get things done!
I solved the problem by making the form a class, as Vasily and others recommended. After a bit of groping about, it now works fine, and I have learned a bit about OOP as well...
Thanks again
John
Dr. JW Faithfull
Curator in Geology
Hunterian Museum
University of Glasgow
Glasgow G12 8QQ
Scotland