(Solved) – Runtime closes when I use DoCmd.OpenForm

  • by
(solved)-–-runtime-closes-when-i-use-docmd.openform

I have a form with a button which opens a new form in order to add a new record to a table. In Access on my pc (full version), everything works fine but when I try to run it on a server with Access Runtime, I get an error saying something like: this application has stopped working due to a runtime-error. The application will now be closed (I have the Dutch version, so I hope this comes close to the English dialog box message). I already debugged the VBA, but that doesn’t seem to be the problem. Anyone knows how to fix this? It has worked before, that’s the strangest part :S

Private Sub Knop62_Click()

DoCmd.OpenForm “Machines Toevoegen”, , , , acFormAdd, acDialog, OpenArgs:=Me.Installaties_Id
End Sub

Leave a Reply

Your email address will not be published. Required fields are marked *