I need a way of saving the current Record in a Form without having to Requery it (Requery moves to first Recordset)...
I tried:
DoCmd.Save
DoCmd.RunCommand acCmdSave
With neither do I have access to the correct data.
The Situation: The AfterUpdate Event of a TEXTBOX calls a function that does some export-to-file-stuff. The Function does not refer to me.TEXTBOX.value since it is global, so I have to look it up. But whenever I do that (DLookup()), I keep getting the OLD data of the Textbox.
I tried the above commands like this
Private Sub strBankName_AfterUpdate()
DoCmd.Hourglass True
DoCmd.RunCommand acCmdSave <------
exportFunction ID
DoCmd.Hourglass False
End Sub
But ain't no good...
I tried:
DoCmd.Save
DoCmd.RunCommand acCmdSave
With neither do I have access to the correct data.
The Situation: The AfterUpdate Event of a TEXTBOX calls a function that does some export-to-file-stuff. The Function does not refer to me.TEXTBOX.value since it is global, so I have to look it up. But whenever I do that (DLookup()), I keep getting the OLD data of the Textbox.
I tried the above commands like this
Private Sub strBankName_AfterUpdate()
DoCmd.Hourglass True
DoCmd.RunCommand acCmdSave <------
exportFunction ID
DoCmd.Hourglass False
End Sub
But ain't no good...