´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
¼öÁ¤ÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
°øÁö»çÇ×
ºñ°ø°³
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
À¥Å¬·¡½º·Î § ÇÁ·Î±×·¥Àä ÀÌ°ÍÀ» ¼¹ö¿¡ ¿Ã·Á¼ ½ÇÇàÇϸé Ŭ¶óÀ̾ðÆ® ÇǾ¾ÀÇ Æ¯Á¤ µð·ºÅ丮(¿©±â¼´Â C\data)¿¡ ÆÄÀÏÀÌ »ý¼ºµÇÁö°¡ ¾Ê¾Æ¿ä... ÁÁÀº ¹æ¹ýÀÌ ¾øÀ»±î¿ä?? À¥Å¬·¡½º´Â active-Xµµ ¾ÈµÈ´Ù´Â±º¿ä... ´äº¯ ºÎŹµå¸³´Ï´Ù... ================================================== With Search_rs .ActiveConnection = DataEnv.Con ' CATID·Î Á¶È¸ÇÒ °æ¿ì If Request.Form("search_sel") = "1" Then SQLText = "Select (cat_id || cat_id_ser) as cat_id, tran_dt, tran_hms, tran_seq, card_acqu, " _ & " req_dt, req_dt, (cond_yn || err_cd) as err_cd, bki, bka, tran_kd, card_id, expir_ym, " _ & " appr_no, tran_amt, install_mm, mod_veri_no, merc_id " _ & " From ddcst03 " _ & " Where " _ & " CAT_ID = '" & Search_Key & "' and " _ & " req_dt >= to_date('" & Session("KeySet1") & "', 'yyyy/mm/dd') AND " _ & " req_dt <= to_date('" & Session("KeySet2") & "', 'yyyy/mm/dd') " '»ç¾÷ÀÚµî·Ï¹øÈ£·Î Á¶È¸ÇÒ °æ¿ì ElseIf Request.Form("search_sel") = "2" Then SQLText = SQLText = "Select (a.cat_id || a.cat_id_ser) as cat_id, a.tran_dt, a.tran_hms, a.tran_seq, a.card_acqu, " _ & " a.req_dt, a.req_dt, (a.cond_yn || a.err_cd) as err_cd, a.bki, a.bka, a.tran_kd, a.card_id, a.expir_ym, " _ & " a.appr_no, a.tran_amt, a.install_mm, a.mod_veri_no, a.merc_id " _ & " From ddcst03 a, (select cat_id from bmscm01 where buss_id = '" & Search_Key & "') b " _ & " Where a.cat_id = b.cat_id and " _ & " a.req_dt >= to_date('" & Session("KeySet1") & "', 'yyyy/mm/dd') AND " _ & " a.req_dt <= to_date('" & Session("KeySet2") & "', 'yyyy/mm/dd') " ' ´ë¸®Á¡ÄÚµå·Î Á¶È¸ÇÒ °æ¿ì Else SQLText = "Select (a.cat_id || a.cat_id_ser) as cat_id, a.tran_dt, a.tran_hms, a.tran_seq, a.card_acqu, " _ & " a.req_dt, a.req_dt, (a.cond_yn || a.err_cd) as err_cd, a.bki, a.bka, a.tran_kd, a.card_id, a.expir_ym, " _ & " a.appr_no, a.tran_amt, a.install_mm, a.mod_veri_no, a.merc_id " _ & " From ddcst03 a, (select cat_id from bmscm01 where intl_agent='" & Search_Key & "') b " _ & " Where a.cat_id = b.cat_id and " _ & " a.req_dt >= to_date('" & Session("KeySet1") & "', 'yyyy/mm/dd') AND " _ & " a.req_dt <= to_date('" & Session("KeySet2") & "', 'yyyy/mm/dd') " End If .Source = SQLText .Open , , adOpenForwardOnly, adLockReadOnly End With If Search_rs.RecordCount > 0 And IsDate(Session("KeySet1")) = True Then WFile = FreeFile Str_Make_File = "Ddc" & Format(Date, "yymmdd") & ".dat" Str_Make_File = "\data\" & Trim(Str_Make_File) Open Str_Make_File For Output As #WFile ' Ãâ·ÂÀ» À§ÇØ ÆÄÀÏÀ» ¿±´Ï´Ù. ListCount = 0 Do While Not Search_rs.EOF Str_temp = Search_rs.Fields("cat_id") Str_temp = Str_temp & Format(Search_rs.Fields("tran_dt"), "yymmdd") & Format(Search_rs.Fields("tran_hms"), "hhmmss") Str_temp = Str_temp & Format(Search_rs.Fields("tran_seq"), "0000") & "0" Str_temp = Str_temp & Space(3 - Len(Search_rs.Fields("card_acqu"))) & Search_rs.Fields("card_acqu") If IsNull(Search_rs.Fields("req_dt")) = True Then Str_temp = Str_temp & " " Else Str_temp = Str_temp & Format(Search_rs.Fields("req_dt"), "mmdd") & Format(Search_rs.Fields("req_dt"), "yymmdd") & Format(Search_rs.Fields("req_dt"), "yymmdd") End If Str_temp = Str_temp & " " Str_temp = Str_temp & Space(2 - Len(Search_rs.Fields("err_cd"))) & Search_rs.Fields("err_cd") Str_temp = Str_temp & " " Str_temp = Str_temp & Space(2 - Len(Search_rs.Fields("bki"))) & Search_rs.Fields("bki") Str_temp = Str_temp & Space(2 - Len(Search_rs.Fields("bka"))) & Search_rs.Fields("bka") Str_temp = Str_temp & Space(2 - Len(Search_rs.Fields("tran_kd"))) & Search_rs.Fields("tran_kd") Str_temp = Str_temp & "0000000000000" Str_temp = Str_temp & Space(16 - Len(Search_rs.Fields("card_id"))) & Search_rs.Fields("card_id") Str_temp = Str_temp & Space(4 - Len(Search_rs.Fields("expir_ym"))) & Search_rs.Fields("expir_ym") Str_temp = Str_temp & "000" Str_temp = Str_temp & Format(Search_rs.Fields("tran_dt"), "yymmdd") & Format(Search_rs.Fields("tran_hms"), "hhmmss") Str_temp = Str_temp & Space(8 - Len(Trim(Search_rs.Fields("appr_no")))) & Trim(Search_rs.Fields("appr_no")) Str_temp = Str_temp & " " & "41" Str_temp = Str_temp & Format(Search_rs.Fields("tran_amt"), "0000000000") Str_temp = Str_temp & "000000000" Str_temp = Str_temp & Format(Search_rs.Fields("tran_amt"), "0000000000") Str_temp = Str_temp & Format(Search_rs.Fields("install_mm"), "00") Str_temp = Str_temp & " " Str_temp = Str_temp & Format(Search_rs.Fields("tran_seq"), "0000") Str_temp = Str_temp & " " Str_temp = Str_temp & Space(2 - Len(Search_rs.Fields("mod_veri_no"))) & Search_rs.Fields("mod_veri_no") Str_temp = Str_temp & " " Str_temp = Str_temp & Space(15 - Len(Trim(Search_rs.Fields("merc_id")))) & Trim(Search_rs.Fields("merc_id")) Str_temp = Str_temp & Space(15 - Len(Trim(Search_rs.Fields("merc_id")))) & Trim(Search_rs.Fields("merc_id")) Print #WFile, Str_temp Search_rs.MoveNext Loop Else End If .Write "