Currently having an issue with something that was working Friday and now after replacing my SQL Server install that was having some issues, doesn't work anymore.
I've tried Me.Dirty = True and DoCmd.RunCommand acCmdSaveRecord to save the record before updating some recordsources on other forms. On Friday, the code would save the record and successfully and when I would run the code that re-queries the other forms the new record would show up.
Now, when I try to do the same thing the record doesn't show up in the table until after the form closes. The two lines of code above I've tried (with the If Me.Dirty = True Then Me.Dirty = False), and I can't get the new record to show up.
Any thoughts?
I've tried Me.Dirty = True and DoCmd.RunCommand acCmdSaveRecord to save the record before updating some recordsources on other forms. On Friday, the code would save the record and successfully and when I would run the code that re-queries the other forms the new record would show up.
Now, when I try to do the same thing the record doesn't show up in the table until after the form closes. The two lines of code above I've tried (with the If Me.Dirty = True Then Me.Dirty = False), and I can't get the new record to show up.
Any thoughts?