Hi Gary,
Thanks for that. I'm not sure the AS clause is supported in VFP 6.0 but that's exactly the kind of thing I'm looking for.
Regards,
Ben
Ben Sugden
"Remember to enjoy hunting - and that means relishing the search for the product that has never been advertised or placed handily at the front of the shop; Life begins on the uppermost shelf, avoid guide books and top 10's like the plague." - Ramsey Dukes