Private Sub Form_Load() If Me.OpenArgs = "GotoNew" And Not IsNull(Me![レンタル商品ID]) Then DoCmd.DoMenuItem acFormBar, 3, 0, , acMenuVer70 End If End Sub