evc4, abap dbÅ×ÀÌºí¿¡ °üÇØ ¹®ÀÇ µå¸³´Ï´Ù.   
 ±Û¾´ÀÌ:dzµ­ÀÌ

, Hit : 716






















È­¸éÀº evc4, db´Â abap·Î pda À¯Áöº¸¼ö¸¦ ÇÕ´Ï´Ù.


Ȥ½Ã À̺о߿¡ °æÇè ÀÖÀ¸½ÅºÐ²²¼­ ´äº¯ ÁÖ½Ã¸é °í¸¿°Ú½À´Ï´Ù.


 


void C555Chul::GetT001L()


{


    ParameterList* param = new ParameterList;


 


    ParameterList* res = theApp.mc->execute(CREQ_TABLE, "ZPDA_SAVESPOT_SEARCH", param);


    if(res != null)


    {


        Table* table = res->getTable("T_SAVESPOT");       ==>°¡)


    


        if(table != null)


        {


            int count = table->getNumRow();


            if(count > 0)


            {


                Row* row = table->getFirstRow();


                for(int i = 0 ; i < count ; i++)


                {


                    CString tmp_ = CString(row->getValue("STR001"));


                    CString tmp2_ = CString(row->getValue("STR002"));                   


                                        m_comSpot.AddString(tmp_ + L"(" + tmp2_ + L")");


                    row = table->getNextRow();


                }


            }


        }


    


        Table* table02 = res->getTable("T_SAVEORDER");      ==>³ª)      


      


        if(table02 != null)


        {


            int count = table02->getNumRow();


            


            if(count > 0)


            {


                Row* row = table02->getFirstRow();              


                for(int i = 0 ; i < count ; i++)


                {                   


                    CString tmp_ = CString(row->getValue("STR001"));


                    CString tmp2_ = CString(row->getValue("STR002"));


        


                                        m_comOrder.AddString(tmp_ + L"(" + tmp2_ + L")");    


                    row = table02->getNextRow();


                }


            }


        }


        else


               {


            AfxMessageBox(L"test_table02 null!!");


        }


 


À§¿Í °°ÀÌ dbÅ×À̺íÀ» Àоî¿Ã¶§ °¡)´Â ¿ø¼Ò½º¿¡ ÀÖ´ø°ÍÀ̶ó Àß ºÒ·¯¿É´Ï´Ù.


±×·±µ¥ ³ª)ºÎºÐÀº Á¦°¡ »õ·Î »ý¼ºÇÑ °Çµ¥ Å×À̺í Á¤ÀǸ¦ À߸øÇÑ°ÇÁö dbÆã¼Ç¿¡¼­ Å×½ºÆ® Çغ¸¸é


T_SAVEORDER¿¡´Â µ¥ÀÌŸ°¡ ÀüºÎ µé¾î¿Â°É È®ÀÎÇߴµ¥ À̼ҽº¿¡¼­ ¸ø°¡Áö°í ¿À³×¿ä..


not nullÀÌ µÇ¾î


               else


               {


            AfxMessageBox(L"test_table02 null!!");


        }


À» ž´Ï´Ù.


Á¦°¡ Å×À̺í Á¤ÀǸ¦ À߸øÇÑ°Ç°¡¿ä?




 
/


  dzµ­ÀÌ
ȸ¿ø´ÔÀÇ ¼Ò°³±ÛÀÌ ¾ø½À´Ï´Ù.
Á¤º¸·Â:250
Ä£Àýµµ:10

´ñ±Û¾²±â     ÀÛ¼ºÀÚ   Æнº¿öµå