does the error have anything to do with the version of MS Access i'm using and whether i'm using DAO or ADO.
Because i had to convert my database to 97 format for it to work with DAO.
But when ever i need to make changes to the database i have to convert it back to access 2000 format then make the changes then convert it back to access 97 format.
Maybe i'm wrong i'm not sure, but i really need to fix this thing.
I tried looking at the microsoft support site and found this piece of code -
----------------------------------------------------------------------------------
Private Sub Data1_Validate(Action As Integer, Save As Integer)
If Text1.DataChanged Then
Text1.DataChanged = False 'So this data is not saved
Data1.UpdateRecord ' This saves the data that
' may have changed in the other controls
' Now clear the numeric field
Data1.Recordset.Edit
Data1.Recordset![Year Born] = Null
Data1.Recordset.Update
End If
End Sub
----------------------------------------------------------------------------------
I trid using this but it doesn't seem to make a difference.
P.S.
I'm really starting to hate
VB!