My Access 2000 application has a function to add records to a data table from an import table that works fine. I can't display the added record on a subform though.
Any thoughts?
Adding the record -
TCPRTable.AddNew
TCPRTable![SC] = SC
TCPRTable.MoveFirst
Do While Not TCPRTable.EOF
If TCPRTable![Param1] = Input1 And TCPRTable![Param2] = Input2 And TCPRTable![Param3] = Input3 Then
Me![SC] = TCPRTable![SC]
(more fields here)
TCPRTable.Requery
Screen.ActiveForm.Refresh
End
Else: TCPRTable.MoveNext
End If
Loop
End Sub
I should mention that the added records will display if the DB is shut down then re-opened.
Last edited by KidJavelin; Jan 27th, 2006 at 12:05 PM.