I absolutely love a film i watched ages ago but cant remember what its called!?

If you think you can help me out, the story line is as follows: teacher (female) and cop (male) inadversly meet when planning their weddings, they fall in love but they part ways for one reason or another. anyways after a number of years this teachers friend is reading a book of which the teacher becomes interested and intrigued to hear a familiar story line, she reads the end and finds its about her and this cop falling in love. she then races to find him and they end up together. thanks in advance. becky
Answer
I think the film you are asking about is "it had to be you" released in 2000.:d