the openform action was canceled (1 Viewer)

Newbie8

Banned
Local time
Today, 06:57
Joined
Jun 29, 2019
Messages
30
I am receiving the openform action was canceled.

Private Sub enterBTN_click()
Const MainForm As String = "Form1"
DoCMD.OpenForm MainForm, acNormal
End Sub
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 06:57
Joined
Aug 30, 2003
Messages
36,125
Can you open that form from the navigation pane?
 

Newbie8

Banned
Local time
Today, 06:57
Joined
Jun 29, 2019
Messages
30
Solved forgot to set my sources.
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 06:57
Joined
Aug 30, 2003
Messages
36,125
Glad you got it sorted.
 

Users who are viewing this thread

Top Bottom