"StartupCode": " Dim dbs As Database\r\n Dim rst As Recordset\r\n\r\nOn Error GoTo Form_Open_Err\r\n\r\n|MINIMIZEDBC\r\n\r\n ' Make sure we have company information\r\n DoCmd.Hourglass False\r\n Set dbs = CurrentDB()\r\n Set rst = dbs.OpenRecordset(\"|T00344\")\r\n If rst.RecordCount = 0 Then\r\n rst.AddNew\r\n rst![|F00004]=NULL\r\n rst.Update\r\n MsgBox \"|S00217\"\r\n DoCmd.OpenForm \"|T00344\", , , , , acDialog\r\n End If\r\n rst.Close\r\n dbs.Close\r\n\r\n|GOTODEFAULT\r\n \r\nForm_Open_Exit:\r\n Exit sub\r\n\r\nForm_Open_Err:\r\n MsgBox Err.Description\r\n Resume Form_Open_Exit",
"StartupCode": " Dim dbs As Database\r\n Dim rst As Recordset\r\n\r\nOn Error GoTo Form_Open_Err\r\n\r\n|MINIMIZEDBC\r\n\r\n ' Make sure we have company information\r\n DoCmd.Hourglass False\r\n Set dbs = CurrentDB()\r\n Set rst = dbs.OpenRecordset(\"|T00344\")\r\n If rst.RecordCount = 0 Then\r\n rst.AddNew\r\n rst![|F00004]=NULL\r\n rst.Update\r\n MsgBox \"|S00217\"\r\n DoCmd.OpenForm \"|T00344\", , , , , acDialog\r\n End If\r\n rst.Close\r\n dbs.Close\r\n\r\n|GOTODEFAULT\r\n \r\nForm_Open_Exit:\r\n Exit sub\r\n\r\nForm_Open_Err:\r\n MsgBox Err.Description\r\n Resume Form_Open_Exit",