Hi I suppose it is much too late to put in a plea for the foreign keys in the database to be integer types rather than character guids? I will appologise in advance as no doubt this was discussed ad nauseum long ago. I am looking at possibilities for accessing the db via alternative routes and some of this would be much easier with integer keys. Colin