I created a form in datasheet view. However, when I open this form from some VB code on another form, it opens as a regular form. Dim stFormPT as string stFormPT = "ErrorPT" Docmd.OpenForm stFormPT