That means that with your query statement you are not retrieving the node. Your XPath looks a little screwy, try something more like this:
GMSRef = XDocument.DOM.selectSingleNode("/my:myFields/my:group3/my:Date");---------------
Matt Faus
Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge