No, there's no requirement that you buy your glasses where the sight test was performed! Look at it this way: a doctor can't decide which pharmacy you should go to, either. The optometrist, like other authorized healthcare professionals, is required to record the results of the patient's sight test. In most countries, the Patient Rights Act gives you right of access to your records and to a copy of your prescription.