hi guys i get a error message like this: "Compile error:variable not defined"
and here's my code:
Private Sub Command36_Click()
Set reop_db = CurrentDb().OpenRecordset("reop_fixed") ->highlited by VBA
reop_db.AddNew
reop_db!date_reop = Me!reop_datetxt
reop_db!series = Me!series_reoptxt
reop_db.Update
End Sub
i wrote the same code on the other form to put in to different table (not "reop_fixed") and it's working just fine....
could anybody tell me why?
and here's my code:
Private Sub Command36_Click()
Set reop_db = CurrentDb().OpenRecordset("reop_fixed") ->highlited by VBA
reop_db.AddNew
reop_db!date_reop = Me!reop_datetxt
reop_db!series = Me!series_reoptxt
reop_db.Update
End Sub
i wrote the same code on the other form to put in to different table (not "reop_fixed") and it's working just fine....
could anybody tell me why?