Hi every body
I am trying to retrieve data from MS Access table but the SQL statement I hav written dos not work, I am bigginer can you please correct it form please.
I use Access 2003 and VB.net 2005
strPatientD = "Select * From tblPatientRegister Where Surname = " & (txtSurname.Text) And DoB = (dtpDoB.Text) And Gender = (cboGender.Text)
Many Thanks
I am trying to retrieve data from MS Access table but the SQL statement I hav written dos not work, I am bigginer can you please correct it form please.
I use Access 2003 and VB.net 2005
strPatientD = "Select * From tblPatientRegister Where Surname = " & (txtSurname.Text) And DoB = (dtpDoB.Text) And Gender = (cboGender.Text)
Many Thanks