The kirk required you to marry within forty days of officially intimating your intention to do so.
If the parties came from two separate parishes, a record would be made in both places. If you see this in the index, you should always look at each entry as one might contain extra information.
It is also worth looking at the minutes of the kirk session to see if there is any reference to the marriage there.