Using ADO, how do I connect to a database? I am just looking for something that will connect, I have my record source and connection string in the properties done. BOF action is set to 0-adDoMoveFirst and EOF action is 2-adDoAddNew.
The name is ADOaddnew.
With this said.. and this is the code for my ADD Record button.
FrmPage1.AdoAddNew.Recordset.MoveFirst
FrmPage1.AdoAddNew.Recordset.Find "AMQTE = '" & Trim(TxtQuotenumber.Text) & "'"
If FrmPage1.AdoAddNew.EOFAction Then
FrmPage1.AdoAddNew.Recordset.AddNew
blnNewpksave = True
some of it, I think I am going about this all wrong anyway.
The name is ADOaddnew.
With this said.. and this is the code for my ADD Record button.
FrmPage1.AdoAddNew.Recordset.MoveFirst
FrmPage1.AdoAddNew.Recordset.Find "AMQTE = '" & Trim(TxtQuotenumber.Text) & "'"
If FrmPage1.AdoAddNew.EOFAction Then
FrmPage1.AdoAddNew.Recordset.AddNew
blnNewpksave = True
some of it, I think I am going about this all wrong anyway.