마이플랫폼 자바스크립트

마이플랫폼 자바스크립트

#include "javascript::common.js"; 

function form_OnLoadCompleted(obj) 
{ 
   fsp_init(); //fsp기본환경 및 실행 
} 



/*******************************************************************************
                                          조회
********************************************************************************/

function Button_OnClick(obj) 
{       
   
    
   var id = Edit0.value;
   ds_search.SetColumn(0, "ID", id); 
    
   var pw = Edit1.value; 
   ds_search.SetColumn(0, "PW", pw); 
    
   var name = Edit2.value; 
   ds_search.SetColumn(0, "NAME", name);

//↑조회 할 데이터 적기
   
 

 alert("조회중"); 

   fsp_clear(); 
   fsp_addSearch("AA:AA-A0000-01S", false);              //fsp툴의 AA:AA-A0000-01S로 찾아가 쿼리문을 탄다.


   
   // 서버 호출 
   

  fsp_callService( 
      "" 
      ,"" 
      ,"ds_search=ds_search"   // inDs 
      ,"ds_list=ds_list"   // outDs 
      ,""   // args  
      ,"fn_afterSearch" 
      ,true 
   ); 

} 


/******************************************************************************* 
                                          조회 알림 
********************************************************************************/ 

function fn_afterSearch(ErrorCode, ErrorMsg)  
{ 
   alert("조회가 완료되었습니다."); 
   updateRowCount();   
} 



/******************************************************************************* 
                                          총 건 수 
********************************************************************************/ 

function updateRowCount()  
{ 
   mae_rowcount.Value = ds_list.GetRowCount(); 
}

댓글

Designed by JB FACTORY

1 2 3 4 5 6 7 8 1 1 2 3 4 5 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10