Section 497 is an offences of adultery which is extracted below:
Section 497 in The Indian Penal Code
497. Adultery.—Whoever has sexual intercourse with a person who is and whom he knows or has reason to believe to be the wife of another man, without the consent or connivance of that man, such sexual intercourse not amounting to the offence of rape, is guilty of the offence of adultery, and shall be punished with imprisonment of either description for a term which may extend to five years, or with fine, or with both. In such case the wife shall not be punishable as an abettor.
If it is committed by wife then husband has power to lodge complaint and when husband committed such offences then wife has got power to lodge complaint as per section 498 IPC.
“198. Prosecution for offences against marriage.— (1) No Court shall take cognizance of an offence punishable under Chapter XX of the Indian Penal Code (45 of 1860) except upon a complaint made by some person aggrieved by the offence:
(2) For the purposes of sub-section (1), no person other than the husband of the woman shall be deemed to be aggrieved by any offence punishable under Section 497 or Section 498 of the said Code:
Provided that in the absence of the husband, some person who had care of the woman on his behalf at the time when such offence was committed may, with the leave of the Court, make a complaint on his behalf.”
Thus the wife has every right to lodge complaint. If there are no ingredients of such offences under section 497 then you have to approach the Court. But it is wise to seek quashing of entire FIR instead of only offences.