Both codes work fine, if I want the command button to prompt me to enter the PatientId... I see the patient that is assigned to that ID on the report. What I'm trying to do is click the command button and it grabs the PatientID that's on the current form, without me having to type the PatientID.