Hi Brian:
I understand what is the non-binding meaning right now. I tried to delete all of the ADODC controls in my application, and using coding instead binding controls to ADODC. I came across a problem, which maybe very simple to you. I do not know how to refer the recordset in other event. I wrote the code in my application (see below), how can I refer the recordset in my other command click event?
I declared and set the recordset in the general declaration area, which did not work. Still need your help. Thanks
Haijun
Dim strSQLDemo As String
Dim rsDemo As Recordset
strSQLDemo = "select * from tblDemographics"
Set rsDemo = getrs(strSQLDemo)
rsDemo.AddNew
rsDemo!MR = txtMR.Text
rsDemo!FirstName = txtPtFN.Text
rsDemo!LastName = txtPtLN.Text
rsDemo!DOB = txtDOB.Text
rsDemo!MF = cboSex.Text
rsDemo!Street = txtAddress.Text
rsDemo!city = txtCity.Text
rsDemo!State = txtState.Text
rsDemo!Zipcode = txtZIP.Text
rsDemo!homephone = txtHomePhone.Text
rsDemo!workphone = txtHomePhone.Text
fraDemographics.Visible = True
cmdDemoEdit.Enabled = False