You are a complete genius. That was the problem. Changing to Count instead of GetCount fixed that particular compilation problem. I don't recall why I'd used GetCount in the first place now.

Told you it was a newbie question

Many Thanks.