I'm a LyX beginner so please don't worry about stating the obvious.
I'm numbering equations by section in my document. That's working fine. However, when I refer to the same equation later on in the text I can't see how I can give it its original reference number.
So if y=x+2 is numbered as 4.2.2, I want to be able to give y=x+2 the same number next time I use it. Is there a straightforward way of doing this? I'm assuming I have to sandwich the equations in code of some sort.
I'm using the scrbook (Koma-script) document class. I'm using the modules: Theorems (AMS), Theorems Numbered by Chapter, Number Equations by Section.
The LaTeX preamble is:
\usepackage{microtype}
\usepackage {hyperref}
\usepackage{amsmath}
\numberwithin{equation}{section}
\setkomafont{captionlabel}{\bfseries}
To date I've been changing the code in my LyX documents using Windows Notepad. Is that the best way of editing code?

If you're concerned with readers flipping back and forth in a pdf, consider the hyperref package.
– qubyte Nov 05 '11 at 15:19