> private void btnFindRecord_Click(object sender, EventArgs e) > { ?? Why are you getting an empty data set here and below with oPatient first? > this.oPreCertif.GetEmptyDataSet(); > string lcPatientId = " "; > if (this.txtLocPatientId.Text == null) ** You shouldn't need to do this if you already set it to " " above. > lcPatientId = " "; > else > lcPatientId = this.txtLocPatientId.Text; > if (lcPatientId != " ") > { ?? Did you set a break point here to verify what you are passing as this.txtLocPatientId.Text? Alternatively, I would trace from here into your business object and step through your GetPreCertsByClientPaitentId to see what exactly is happening. > this.oPreCertif.GetPreCertsByClientPatientId(this.txtLocPatientId.Text); > this.oPatient.GetEmptyDataSet(); > if (oPreCertif.GetRowCount() > 0) > { > this.oPatient.GetPatientByClientPatientID(this.txtLocPatientId.Text); > if (oPatient.GetRowCount() > 0) > { > this.txtLocLastName.Text = this.oPatient.Entity.LastName; > this.txtLocFirstName.Text = this.oPatient.Entity.FirstName; > } > } > else > { > MessageBox.Show("Unable to locate pre-certs meeting these criteria."); > } > } > > } > >Tim