Number Page in Citation

Hi I’m using Endnote in University PC and I am studing how it works but I have a problem.

Often when I write a paper, I can cite two times the same paper. 

In the first time I must report the same words then I must cite a general thinking on the same paper.

In the first citation I must report exactly the number of the page in the citation while in the second citation I must not report the exactly number of the page. For example

(McCain, 1980, p.5) the (McCain, 1980)

However, in references I should report only one citation with the range of the page. pp.7-15

How Could I set this in the style file ?