<% ' main() Sub main() If Not(SessionCheck()) Then Exit Sub End If Dim Label Label = "摘要管理" If PackageMode = 1 Then Label = "摘要マスター" End If Dim NRflg , ErrMSG , Action Dim EnshuName Dim TekiyoCD , Tekiyo '摘要コード、摘要 Dim KanrenKaisyaCD '会社コード、関連会社コード Dim Query Dim Content Dim CContent NRflg = Request("nr") Action = Request("Action") TekiyoCD = Request("TekiyoCD") ErrMSG = Request("ErrMSG") '演習名称GET EnshuName = ConvEnshuMeisyo(EnshuCD) If NRflg = "r" then TekiyoCD = Request("TekiyoCD") KaisyaCD = Request("KaisyaCD") EnshuCD = Request("EnshuCD") KanrenKaisyaCD = Request("KanrenKaisyaCD ") Tekiyo = Request("Tekiyo") ErrMsg = Request("ErrMsg") Else 'Query = "exec SPM商品取得 '" & GB_SystemCD & "','" & EnshuCD & "','" & SyohinCD & "'" Query = "exec SPM摘要取得 '" & GB_SystemCD & "','" & EnshuCD & "','" & TekiyoCD & "','" & KaisyaCD & "'" Set Content = OpenQuery(Query) If Not(Content.BOF Or Content.EOF) Then TekiyoCD = Content.Fields("摘要CD") KaisyaCD = Content.Fields("会社CD") EnshuCD = Content.Fields("演習CD") KanrenKaisyaCD = Content.Fields("関連会社CD") Tekiyo = Content.Fields("摘要") End If End If If Action = "1" Then '追加をする場合 '摘要CDGET及び処理 Dim TekiyoCDNUM '数字摘要コード Dim TekiyoCDSTR '文字摘要コード Dim StrLenb '摘要コードの長さ Dim Blank '0の数 end if %> <% = HtmlHeader("") %>
<% Response.Write(HtmlDesign(1)) Response.Write(HttpL1(3)) If PackageMode = 1 Then Response.Write(HttpL2("メインメニュー" ,"tblbtn('/" & HomeAlias & "/user/bk/menu_cyac.asp')", Label, "", "", "", "", "", "", "", "", "")) Else Response.Write(HttpL2("会社選択" ,"tblbtn( '/" & HomeAlias & "/user/bk/')", GB_GyosyuMeisyo, "tblbtn( '/" & HomeAlias & "/user/bk/menu_" & GB_Gyosyu & ".asp')", "社長室・総務部", "tblbtn( '/" & HomeAlias & "/user/bk/menu_s4.asp')", Label, "", "", "", "", "")) End If Response.Write(HttpL3("", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "")) Response.Write(HttpL3_1("保存", "SubmitCheck()", "", "", "", "", "", "", "", "")) Response.Write(HttpL3_2("一覧表示", "tblbtn( 'fm_tekiyo_ichiran.asp')", "", "", "", "", "", "", "", "")) If Action = "1" Then Response.Write(HttpL4(Label, "入力")) ElseIf Action = "2" Then Response.Write(HttpL4(Label, "修正")) End If Response.Write(HttpL5(ErrMsg)) %>
<% = HtmlFooter %> <% End Sub %>