I am running an Access Database on a terminal server (Windows2003) that connects to a SQL-Server back end. I am having trouble running this code:
when I Click the button in debug mode i get an error:
runtime error 2001
You canceled the previous operation
When not in debug mode, I get no error, but nothing happens. This code works fine on a normal XP box running locally. Any idea's?
Thanks
Code:
Private Sub Command13_Click()
Dim strChange As String
strChange = Me!ChangeNum
DoCmd.OpenForm "FrmChanges", , , "ChangeNum =" & strChange
End Sub
when I Click the button in debug mode i get an error:
runtime error 2001
You canceled the previous operation
When not in debug mode, I get no error, but nothing happens. This code works fine on a normal XP box running locally. Any idea's?
Thanks