My father was praying for our senior pastor for a decision that the church needed to make. In prayer he felt that he heard a direction that seemed counter to what the consensus was. He was unsure if he heard right and felt that God said "it's as sure as your grandchild coming" That weekend we announced to our family that we were pregnant. We had not told anyone we were trying for a baby, we really didn't want that mental picture circling in our parents minds :-)
With that confirmation, my dad moved forward and told the senior pastor what he heard. Like I said, it wasn't a popular direction and at first the senior pastor disagreed. It was several months later that the issue came up again and my father felt he needed to reiterate to the senior pastor the direction he felt God was leading but wanted to be sure that he was hearing correctly. This time he heard God say "it's as sure as your grandson is coming" at that time, my wife and I had specifically not sought out the gender of the baby during the ultrasound. We wanted to be surprised at the delivery. While my wife was having the C-Section, my father-in-law approached my dad and said, "God has told you the gender hasn't He?" My dad told him what God had said. Sure enough, just minutes later our first born son was born.
Armed with new confirmation, my dad approched the senior pastor again with confidence. Ultimately, through a series of events that did not go according to the senior pastors plan, the outcome that God had told my dad came to pass and is still affective to this day nearly 13 years later.
The purpose of God telling my dad about the pregnancy and gender was to give him the confidence that the rest of the revelation was accurate as well. The church needed direction and my sons birth played a part in that.