'*******************************************************************************
'* ì¬ŽÒ   : Š”Ž®‰ïŽÐƒGƒR[EƒVƒXƒeƒ€ 
'* ì¬“ú   : 2004/10/13
'* ŠT—v     : PICS2004 BtrieveÌ§²Ù½Ä×¸Á¬°’è‹`
'* XV—š—ð : 
'* ÊÞ°¼Þ®Ý  : 1.0
'*******************************************************************************
Imports System.Runtime.InteropServices
Imports System.Runtime.CompilerServices

Module modBTRFile

    '---------------------------------------------------------------------------
    ' BtrieveÌ§²Ù–¼’è‹`
    '---------------------------------------------------------------------------
    Public Const G_CONST_TBL_CALENDAR = "CALENDAR"          '¶ÚÝÀÞ°Ï½À°
    Public Const G_CONST_TBL_CENTER = "CENTER"              '¾ÝÀ°º°ÄÞÏ½À°
    Public Const G_CONST_TBL_CORP = "CORP"                  '¼½ÃÑ—˜—p‰ïŽÐÏ½À°
    Public Const G_CONST_TBL_CUSTOMER = "CUSTOMER"          'ŒÚ‹qÏ½À°
    Public Const G_CONST_TBL_CROSS = "CROSS"                '¸Û½ØÌ§ÚÝ½Ì§²Ù
    Public Const G_CONST_TBL_CUSTTYPE = "CUSTTYPE"          'ŒÚ‹q•Êo‰×À²ÌßÏ½À°
    Public Const G_CONST_TBL_DELIVERR = "DELIVERR"          '”[•i•s‹ï‡•ñÌ§²Ù
    Public Const G_CONST_TBL_GROSSNET = "GROSSNET"          '«•ïd—ÊÏ½À°
    Public Const G_CONST_TBL_HOSOM = "HOSOM"                '•ï‘••”•i•ªŠ„î•ñÏ½À°
    Public Const G_CONST_TBL_HTCTRL = "HTCTRL"              '‘º°ÄÞÌ§²Ù
    Public Const G_CONST_TBL_HTTITLE = "HTTITLE"            'À²ÄÙÌ§²Ù
    Public Const G_CONST_TBL_IDCNV = "IDCNV"                'ID“ÁŽê‹æ•ª•ÏŠ·Ì§²Ù
    Public Const G_CONST_TBL_ITEM = "ITEM"                  '¤•iÏ½À°
    Public Const G_CONST_TBL_JUMP = "JUMP"                  '”[“üŒv‰æÌ§²Ù
    Public Const G_CONST_TBL_LCTNGR = "LCTNGR"              '¸ÞÙ°ÌßÛ¹°¼®ÝÏ½À°
    Public Const G_CONST_TBL_LCTNMC = "LCTNMC"              'MCÛ¹°¼®ÝÏ½À°
    Public Const G_CONST_TBL_LN2LN = "LN2LN"                '«•ï×²Ý•ÏŠ·Ì§²Ù
    Public Const G_CONST_TBL_LOCATION = "LOCATION"          'Û¹°¼®ÝÏ½À°
    Public Const G_CONST_TBL_PACKAP = "PACKAP"              'PACKAP
    Public Const G_CONST_TBL_PACKAJ = "PACKAJ"              'PACKAJ
    Public Const G_CONST_TBL_PACKCP = "PACKCP"              'PACKCP
    Public Const G_CONST_TBL_PACKCJ = "PACKCJ"              'PACKCJ
    Public Const G_CONST_TBL_PACKPLAN = "PACKPLAN"          'o‰×Œv‰æÌ§²Ù
    Public Const G_CONST_TBL_PACKPLAN2 = "PACKPLA2"         'o‰×Œv‰æÌ§²Ù
    Public Const G_CONST_TBL_PARTCTL = "PARTCTL"            '•”•iŠÇ—Ì§²Ù
    Public Const G_CONST_TBL_PARTM = "PARTM"                '•”•iÏ½À°
    Public Const G_CONST_TBL_PARTMTL = "PARTMTL"            'Ž‘ÞÏ½À°
    Public Const G_CONST_TBL_PARTVOL = "PARTVOL"            '•”•iŠ—v—ÊÌ§²Ù
    Public Const G_CONST_TBL_PICKSEC = "PICKSEC"            'oŒÉ¾¸¼®ÝÌ§²Ù
    Public Const G_CONST_TBL_PICKSEC2 = "PICKSEC2"          'oŒÉ¾¸¼®ÝÌ§²Ù2
    Public Const G_CONST_TBL_PICSMSG = "PICSMSG"            'Ò¯¾°¼ÞÌ§²Ù
    Public Const G_CONST_TBL_PICSTYPE = "PICSTYPE"          'o‰×À²ÌßÏ½À°
    Public Const G_CONST_TBL_PICSUSER = "PICSUSER"          'Õ°»Þ°Ï½À°
    Public Const G_CONST_TBL_PLAN = "PLAN"                  '«•ï‡˜Œv‰æÌ§²Ù
    Public Const G_CONST_TBL_PLTLCTN = "PLTLCTN"            'Ï‚Ý•t‚¯‡˜Ì§²Ù
    Public Const G_CONST_TBL_PRESETBHK = "LN2RL"            '•”•iŒÉ–¢Ý’è’è‹`Ì§²Ù
    Public Const G_CONST_TBL_PSERIAL = "PSERIAL"            '•”•i¼Ø±Ù”Ô†Ì”ÔÌ§²Ù
    Public Const G_CONST_TBL_RL2RL = "RL2RL"                '•”•iŒÉ•ÏŠ·Ì§²Ù
    Public Const G_CONST_TBL_SECTION = "SECTION"            '¾¸¼®ÝÌ§²Ù
    Public Const G_CONST_TBL_SPM = "SPM"                    '»Ìß×²Ï½À°
    Public Const G_CONST_TBL_SPMTMP = "SPMTMP"              '»Ìß×²Ï½À°TMP
    Public Const G_CONST_TBL_SPMW = "SPMW"                  'SPMW(Ü°¸Ì§²Ù)
    Public Const G_CONST_TBL_STATUS = "STATUS"              '½Ã°À½Ì§²Ù
    Public Const G_CONST_TBL_STOCK = "STOCK"                'ÝŒÉÌ§²Ù
    Public Const G_CONST_TBL_SUBPART = "SUBPART"            'µ²Ùº°Ä»ÌÞ«•ïÏ½À
    Public Const G_CONST_TBL_SUBSPM = "SUBSPM"              'SUBSPM(Ü°¸Ì§²Ù)
    Public Const G_CONST_TBL_TANASIZE = "TANASIZE"          '’I»²½ÞÏ½À°
    Public Const G_CONST_TBL_TANAVOL = "TANAVOL"            '’I•ÛŠÇÎÞØ­°ÑÏ½À°
    Public Const G_CONST_TBL_TRANS = "TRANS"                '”zMÏ½À°Ì§²Ù
    Public Const G_CONST_TBL_VANPJ = "VANPJ"                'ÊÞÆÝ¸ÞŒv‰æ
    Public Const G_CONST_TBL_WKNUMBER = "WKNUMBER"          'Ž©“®•ï‘•‹@ÅÝÊÞØÝ¸ÞÌ§²Ù

    '---------------------------------------------------------------------------
    ' BtrieveÌ§²Ù·°–¼’è‹`
    '---------------------------------------------------------------------------
    Public Const G_CONST_KEY_CALENDARKEY00 = "CALENDARKEY00"          '¶ÚÝÀÞ°Ï½À°     
    Public Const G_CONST_KEY_CALENDARKEY01 = "CALENDARKEY01"          '¶ÚÝÀÞ°Ï½À°        
    Public Const G_CONST_KEY_CENTERKEY00 = "CENTERKEY00"              '¾ÝÀ°º°ÄÞÏ½À°         
    Public Const G_CONST_KEY_CORPKEY00 = "CORPKEY00"                  '¼½ÃÑ—˜—p‰ïŽÐÏ½À°     
    Public Const G_CONST_KEY_CUSTOMERKEY00 = "CUSTOMERKEY00"          'ŒÚ‹qÏ½À°             
    Public Const G_CONST_KEY_CUSTTYPEKEY00 = "CUSTTYPEKEY00"          'ŒÚ‹q•Êo‰×À²ÌßÏ½À°   
    Public Const G_CONST_KEY_CROSSKEY00 = "CROSSKEY00"                '¸Û½ØÌ§ÚÝ½Ì§²Ù        
    Public Const G_CONST_KEY_DELIVERRKEY00 = "DELIVERRKEY00"          '”[•i•s‹ï‡•ñÌ§²Ù   
    Public Const G_CONST_KEY_DELIVERRKEY01 = "DELIVERRKEY01"          '”[•i•s‹ï‡•ñÌ§²Ù   
    Public Const G_CONST_KEY_DELIVERRKEY02 = "DELIVERRKEY02"          '”[•i•s‹ï‡•ñÌ§²Ù   
    Public Const G_CONST_KEY_DELIVERRKEY03 = "DELIVERRKEY03"          '”[•i•s‹ï‡•ñÌ§²Ù   
    Public Const G_CONST_KEY_DELIVERRKEY04 = "DELIVERRKEY04"          '”[•i•s‹ï‡•ñÌ§²Ù   
    Public Const G_CONST_KEY_GROSSNETKEY00 = "GROSSNETKEY00"          '«•ïd—ÊÏ½À°         
    Public Const G_CONST_KEY_GROSSNETKEY01 = "GROSSNETKEY01"          '«•ïd—ÊÏ½À°         
    Public Const G_CONST_KEY_HOSOMKEY00 = "HOSOMKEY00"                '•ï‘••”•i•ªŠ„î•ñÏ½À° 
    Public Const G_CONST_KEY_HTCTRLKEY00 = "HTCTRLKEY00"              '‘º°ÄÞÌ§²Ù           
    Public Const G_CONST_KEY_HTCTRLKEY01 = "HTCTRLKEY01"              '‘º°ÄÞÌ§²Ù           
    Public Const G_CONST_KEY_HTTITLEKEY00 = "HTTITLEKEY00"            'À²ÄÙÌ§²Ù             
    Public Const G_CONST_KEY_IDCNVKEY00 = "IDCNVKEY00"                'ID“ÁŽê‹æ•ª•ÏŠ·Ì§²Ù   
    Public Const G_CONST_KEY_ITEMKEY00 = "ITEMKEY00"                  '¤•iÏ½À°           
    Public Const G_CONST_KEY_JUMPKEY00 = "JUMPKEY00"                  '”[“üŒv‰æÌ§²Ù         
    Public Const G_CONST_KEY_JUMPKEY01 = "JUMPKEY01"                  '”[“üŒv‰æÌ§²Ù         
    Public Const G_CONST_KEY_JUMPKEY02 = "JUMPKEY02"                  '”[“üŒv‰æÌ§²Ù         
    Public Const G_CONST_KEY_JUMPKEY03 = "JUMPKEY03"                  '”[“üŒv‰æÌ§²Ù         
    Public Const G_CONST_KEY_JUMPKEY04 = "JUMPKEY04"                  '”[“üŒv‰æÌ§²Ù         
    Public Const G_CONST_KEY_JUMPKEY05 = "JUMPKEY05"                  '”[“üŒv‰æÌ§²Ù         
    Public Const G_CONST_KEY_JUMPKEY06 = "JUMPKEY06"                  '”[“üŒv‰æÌ§²Ù         
    Public Const G_CONST_KEY_LCTNGRKEY00 = "LCTNGRKEY00"              '¸ÞÙ°ÌßÛ¹°¼®ÝÏ½À°     
    Public Const G_CONST_KEY_LCTNMCKEY00 = "LCTNMCKEY00"              'MCÛ¹°¼®ÝÏ½À°         
    Public Const G_CONST_KEY_LN2LNKEY00 = "LN2LNKEY00"                '«•ï×²Ý•ÏŠ·Ì§²Ù      
    Public Const G_CONST_KEY_LOCATIONKEY00 = "LOCATIONKEY00"          'Û¹°¼®ÝÏ½À°           
    Public Const G_CONST_KEY_LOCATIONKEY01 = "LOCATIONKEY01"          'Û¹°¼®ÝÏ½À°           
    Public Const G_CONST_KEY_LOCATIONKEY02 = "LOCATIONKEY02"          'Û¹°¼®ÝÏ½À°           
    Public Const G_CONST_KEY_LOCATIONKEY03 = "LOCATIONKEY03"          'Û¹°¼®ÝÏ½À°           
    Public Const G_CONST_KEY_LOCATIONKEY04 = "LOCATIONKEY04"          'Û¹°¼®ÝÏ½À°           
    Public Const G_CONST_KEY_LOCATIONKEY05 = "LOCATIONKEY05"          'Û¹°¼®ÝÏ½À°           
    Public Const G_CONST_KEY_LOCATIONKEY06 = "LOCATIONKEY06"          'Û¹°¼®ÝÏ½À°           
    Public Const G_CONST_KEY_PACKAPKEY00 = "PACKAPKEY00"              'PACKAP
    Public Const G_CONST_KEY_PACKAPKEY01 = "PACKAPKEY01"              'PACKAP
    Public Const G_CONST_KEY_PACKAPKEY02 = "PACKAPKEY02"              'PACKAP
    Public Const G_CONST_KEY_PACKAPKEY03 = "PACKAPKEY03"              'PACKAP
    Public Const G_CONST_KEY_PACKAPKEY04 = "PACKAPKEY04"              'PACKAP
    Public Const G_CONST_KEY_PACKAPKEY05 = "PACKAPKEY05"              'PACKAP
    Public Const G_CONST_KEY_PACKAPKEY06 = "PACKAPKEY06"              'PACKAP
    Public Const G_CONST_KEY_PACKAJKEY00 = "PACKAJKEY00"              'PACKAJ
    Public Const G_CONST_KEY_PACKAJKEY01 = "PACKAJKEY01"              'PACKAJ
    Public Const G_CONST_KEY_PACKAJKEY02 = "PACKAJKEY02"              'PACKAJ
    Public Const G_CONST_KEY_PACKAJKEY03 = "PACKAJKEY03"              'PACKAJ
    Public Const G_CONST_KEY_PACKAJKEY04 = "PACKAJKEY04"              'PACKAJ
    Public Const G_CONST_KEY_PACKAJKEY05 = "PACKAJKEY05"              'PACKAJ
    Public Const G_CONST_KEY_PACKAJKEY06 = "PACKAJKEY06"              'PACKAJ
    Public Const G_CONST_KEY_PACKCPKEY00 = "PACKCPKEY00"              'PACKCP
    Public Const G_CONST_KEY_PACKCPKEY01 = "PACKCPKEY01"              'PACKCP
    Public Const G_CONST_KEY_PACKCPKEY02 = "PACKCPKEY02"              'PACKCP
    Public Const G_CONST_KEY_PACKCPKEY03 = "PACKCPKEY03"              'PACKCP
    Public Const G_CONST_KEY_PACKCPKEY04 = "PACKCPKEY04"              'PACKCP
    Public Const G_CONST_KEY_PACKCPKEY05 = "PACKCPKEY05"              'PACKCP
    Public Const G_CONST_KEY_PACKCPKEY06 = "PACKCPKEY06"              'PACKCP
    Public Const G_CONST_KEY_PACKCPKEY07 = "PACKCPKEY07"              'PACKCP
    Public Const G_CONST_KEY_PACKCJKEY00 = "PACKCJKEY00"              'PACKCJ
    Public Const G_CONST_KEY_PACKCJKEY01 = "PACKCJKEY01"              'PACKCJ
    Public Const G_CONST_KEY_PACKCJKEY02 = "PACKCJKEY02"              'PACKCJ
    Public Const G_CONST_KEY_PACKCJKEY03 = "PACKCJKEY03"              'PACKCJ
    Public Const G_CONST_KEY_PACKCJKEY04 = "PACKCJKEY04"              'PACKCJ
    Public Const G_CONST_KEY_PACKCJKEY05 = "PACKCJKEY05"              'PACKCJ
    Public Const G_CONST_KEY_PACKCJKEY06 = "PACKCJKEY06"              'PACKCJ
    Public Const G_CONST_KEY_PACKCJKEY07 = "PACKCJKEY07"              'PACKCJ
    Public Const G_CONST_KEY_PACKCJKEY08 = "PACKCJKEY08"              'PACKCJ
    Public Const G_CONST_KEY_PACKCJKEY09 = "PACKCJKEY09"              'PACKCJ
    Public Const G_CONST_KEY_PACKPLANKEY00 = "PACKPLANKEY00"          'o‰×Œv‰æÌ§²Ù         
    Public Const G_CONST_KEY_PACKPLANKEY01 = "PACKPLANKEY01"          'o‰×Œv‰æÌ§²Ù         
    Public Const G_CONST_KEY_PACKPLANKEY02 = "PACKPLANKEY02"          'o‰×Œv‰æÌ§²Ù         
    Public Const G_CONST_KEY_PACKPLANKEY03 = "PACKPLANKEY03"          'o‰×Œv‰æÌ§²Ù         
    Public Const G_CONST_KEY_PACKPLANKEY04 = "PACKPLANKEY04"          'o‰×Œv‰æÌ§²Ù         
    Public Const G_CONST_KEY_PACKPLANKEY05 = "PACKPLANKEY05"          'o‰×Œv‰æÌ§²Ù         
    Public Const G_CONST_KEY_PACKPLANKEY06 = "PACKPLANKEY06"          'o‰×Œv‰æÌ§²Ù         
    Public Const G_CONST_KEY_PACKPLANKEY07 = "PACKPLANKEY07"          'o‰×Œv‰æÌ§²Ù         
    Public Const G_CONST_KEY_PACKPLANKEY08 = "PACKPLANKEY08"          'o‰×Œv‰æÌ§²Ù         
    Public Const G_CONST_KEY_PACKPLANKEY09 = "PACKPLANKEY09"          'o‰×Œv‰æÌ§²Ù         
    Public Const G_CONST_KEY_PARTCTLKEY00 = "PARTCTLKEY00"            '•”•iŠÇ—Ì§²Ù         
    Public Const G_CONST_KEY_PARTMKEY00 = "PARTMKEY00"                '•”•iÏ½À°             
    Public Const G_CONST_KEY_PARTMTLKEY00 = "PARTMTLKEY00"            'Ž‘ÞÏ½À°             
    Public Const G_CONST_KEY_PARTVOLKEY00 = "PARTVOLKEY00"            '•”•iŠ—v—ÊÌ§²Ù          
    Public Const G_CONST_KEY_PARTVOLKEY01 = "PARTVOLKEY01"            '•”•iŠ—v—ÊÌ§²Ù    
    Public Const G_CONST_KEY_PICKSECKEY00 = "PICKSECKEY00"            'oŒÉ¾¸¼®ÝÌ§²Ù        
    Public Const G_CONST_KEY_PICKSEC2KEY00 = "PICKSEC2KEY00"          'oŒÉ¾¸¼®ÝÌ§²Ù2       
    Public Const G_CONST_KEY_PICSMSGKEY00 = "PICSMSGKEY00"            'Ò¯¾°¼ÞÌ§²Ù           
    Public Const G_CONST_KEY_PICSTYPEKEY00 = "PICSTYPEKEY00"          'o‰×À²ÌßÏ½À°         
    Public Const G_CONST_KEY_PICSUSERKEY00 = "PICSUSERKEY00"          'Õ°»Þ°Ï½À°            
    Public Const G_CONST_KEY_PICSUSERKEY01 = "PICSUSERKEY01"          'Õ°»Þ°Ï½À°            
    Public Const G_CONST_KEY_PLANKEY00 = "PLANKEY00"                  '«•ï‡˜Œv‰æÌ§²Ù     
    Public Const G_CONST_KEY_PLANKEY01 = "PLANKEY01"                  '«•ï‡˜Œv‰æÌ§²Ù     
    Public Const G_CONST_KEY_PLANKEY02 = "PLANKEY02"                  '«•ï‡˜Œv‰æÌ§²Ù     
    Public Const G_CONST_KEY_PLANKEY03 = "PLANKEY03"                  '«•ï‡˜Œv‰æÌ§²Ù     
    Public Const G_CONST_KEY_PLANKEY04 = "PLANKEY04"                  '«•ï‡˜Œv‰æÌ§²Ù     
    Public Const G_CONST_KEY_PLANKEY05 = "PLANKEY05"                  '«•ï‡˜Œv‰æÌ§²Ù     
    Public Const G_CONST_KEY_PLANKEY06 = "PLANKEY06"                  '«•ï‡˜Œv‰æÌ§²Ù     
    Public Const G_CONST_KEY_PLANKEY07 = "PLANKEY07"                  '«•ï‡˜Œv‰æÌ§²Ù     
    Public Const G_CONST_KEY_PLANKEY08 = "PLANKEY08"                  '«•ï‡˜Œv‰æÌ§²Ù     
    Public Const G_CONST_KEY_PLTLCTNKEY00 = "PLTLCTNKEY00"            'Ï‚Ý•t‚¯‡˜Ì§²Ù     
    Public Const G_CONST_KEY_PRESETBHKKEY00 = "LN2RLKEY00"            '•”•iŒÉ–¢Ý’è’è‹`Ì§²Ù 
    Public Const G_CONST_KEY_PSERIALKEY00 = "PSERIALKEY00"            '•”•i¼Ø±Ù”Ô†Ì”ÔÌ§²Ù 
    Public Const G_CONST_KEY_RL2RLKEY00 = "RL2RLKEY00"                '•”•iŒÉ•ÏŠ·Ì§²Ù       
    Public Const G_CONST_KEY_RL2RLKEY01 = "RL2RLKEY01"                '•”•iŒÉ•ÏŠ·Ì§²Ù       
    Public Const G_CONST_KEY_RL2RLKEY02 = "RL2RLKEY02"                '•”•iŒÉ•ÏŠ·Ì§²Ù       
    Public Const G_CONST_KEY_SECTIONKEY00 = "SECTIONKEY00"            '¾¸¼®ÝÌ§²Ù            
    Public Const G_CONST_KEY_SPMKEY00 = "SPMKEY00"                    '»Ìß×²Ï½À°            
    Public Const G_CONST_KEY_SPMKEY01 = "SPMKEY01"                    '»Ìß×²Ï½À°            
    Public Const G_CONST_KEY_SPMKEY02 = "SPMKEY02"                    '»Ìß×²Ï½À°            
    Public Const G_CONST_KEY_SPMKEY03 = "SPMKEY03"                    '»Ìß×²Ï½À°            
    Public Const G_CONST_KEY_SPMKEY04 = "SPMKEY04"                    '»Ìß×²Ï½À° 
    Public Const G_CONST_KEY_SPMTMPKEY00 = "SPMTMPKEY00"              '»Ìß×²Ï½À°TMP        
    Public Const G_CONST_KEY_SPMTMPKEY01 = "SPMTMPKEY01"              '»Ìß×²Ï½À°TMP    
    Public Const G_CONST_KEY_SPMTMPKEY02 = "SPMTMPKEY02"              '»Ìß×²Ï½À°TMP      
    Public Const G_CONST_KEY_SPMTMPKEY03 = "SPMTMPKEY03"              '»Ìß×²Ï½À°TMP 
    Public Const G_CONST_KEY_SPMTMPKEY04 = "SPMTMPKEY04"              '»Ìß×²Ï½À°TMP 
    Public Const G_CONST_KEY_SPMWKEY00 = "SPMWKEY00"                  'SPMW(Ü°¸Ì§²Ù)        
    Public Const G_CONST_KEY_SPMWKEY01 = "SPMWKEY01"                  'SPMW(Ü°¸Ì§²Ù)        
    Public Const G_CONST_KEY_SPMWKEY02 = "SPMWKEY02"                  'SPMW(Ü°¸Ì§²Ù)        
    Public Const G_CONST_KEY_SPMWKEY03 = "SPMWKEY03"                  'SPMW(Ü°¸Ì§²Ù)        
    Public Const G_CONST_KEY_SPMWKEY04 = "SPMWKEY04"                  'SPMW(Ü°¸Ì§²Ù)        
    Public Const G_CONST_KEY_SPMWKEY05 = "SPMWKEY05"                  'SPMW(Ü°¸Ì§²Ù)        
    Public Const G_CONST_KEY_STATUSKEY00 = "STATUSKEY00"              '½Ã°À½Ì§²Ù            
    Public Const G_CONST_KEY_STOCKKEY00 = "STOCKKEY00"                'ÝŒÉÌ§²Ù             
    Public Const G_CONST_KEY_STOCKKEY01 = "STOCKKEY01"                'ÝŒÉÌ§²Ù             
    Public Const G_CONST_KEY_STOCKKEY02 = "STOCKKEY02"                'ÝŒÉÌ§²Ù             
    Public Const G_CONST_KEY_STOCKKEY03 = "STOCKKEY03"                'ÝŒÉÌ§²Ù             
    Public Const G_CONST_KEY_STOCKKEY04 = "STOCKKEY04"                'ÝŒÉÌ§²Ù             
    Public Const G_CONST_KEY_STOCKKEY05 = "STOCKKEY05"                'ÝŒÉÌ§²Ù             
    Public Const G_CONST_KEY_STOCKKEY06 = "STOCKKEY06"                'ÝŒÉÌ§²Ù             
    Public Const G_CONST_KEY_SUBPARTKEY00 = "SUBPARTKEY00"            'µ²Ùº°Ä»ÌÞ«•ïÏ½À@@
    Public Const G_CONST_KEY_SUBPARTKEY01 = "SUBPARTKEY01"            'µ²Ùº°Ä»ÌÞ«•ïÏ½À@@
    Public Const G_CONST_KEY_SUBPARTKEY02 = "SUBPARTKEY02"            'µ²Ùº°Ä»ÌÞ«•ïÏ½À@@
    Public Const G_CONST_KEY_SUBSPMKEY00 = "SUBSPMKEY00"              'SUBSPM(Ü°¸Ì§²Ù)      
    Public Const G_CONST_KEY_SUBSPMKEY01 = "SUBSPMKEY01"              'SUBSPM(Ü°¸Ì§²Ù)      
    Public Const G_CONST_KEY_SUBSPMKEY02 = "SUBSPMKEY02"              'SUBSPM(Ü°¸Ì§²Ù)      
    Public Const G_CONST_KEY_SUBSPMKEY03 = "SUBSPMKEY03"              'SUBSPM(Ü°¸Ì§²Ù)      
    Public Const G_CONST_KEY_TANASIZEKEY00 = "TANASIZEKEY00"          '’I»²½ÞÏ½À°           
    Public Const G_CONST_KEY_TANAVOLKEY00 = "TANAVOLKEY00"            '’I•ÛŠÇÎÞØ­°ÑÏ½À°     
    Public Const G_CONST_KEY_TANAVOLKEY01 = "TANAVOLKEY01"            '’I•ÛŠÇÎÞØ­°ÑÏ½À°     
    Public Const G_CONST_KEY_TRANSKEY00 = "TRANSKEY00"                '”zMÏ½À°Ì§²Ù         
    Public Const G_CONST_KEY_TRANSKEY01 = "TRANSKEY01"                '”zMÏ½À°Ì§²Ù         
    Public Const G_CONST_KEY_TRANSKEY02 = "TRANSKEY02"                '”zMÏ½À°Ì§²Ù         
    Public Const G_CONST_KEY_TRANSKEY03 = "TRANSKEY03"                '”zMÏ½À°Ì§²Ù         
    Public Const G_CONST_KEY_TRANSKEY04 = "TRANSKEY04"                '”zMÏ½À°Ì§²Ù         
    Public Const G_CONST_KEY_TRANSKEY05 = "TRANSKEY05"                '”zMÏ½À°Ì§²Ù         
    Public Const G_CONST_KEY_VANPJKEY00 = "VANPJKEY00"                'ÊÞÆÝ¸ÞŒv‰æÌ§²Ù       
    Public Const G_CONST_KEY_VANPJKEY01 = "VANPJKEY01"                'ÊÞÆÝ¸ÞŒv‰æÌ§²Ù       
    Public Const G_CONST_KEY_VANPJKEY02 = "VANPJKEY02"                'ÊÞÆÝ¸ÞŒv‰æÌ§²Ù       
    Public Const G_CONST_KEY_VANPJKEY03 = "VANPJKEY03"                'ÊÞÆÝ¸ÞŒv‰æÌ§²Ù       
    Public Const G_CONST_KEY_VANPJKEY04 = "VANPJKEY04"                'ÊÞÆÝ¸ÞŒv‰æÌ§²Ù       
    Public Const G_CONST_KEY_VANPJKEY05 = "VANPJKEY05"                'ÊÞÆÝ¸ÞŒv‰æÌ§²Ù       
    Public Const G_CONST_KEY_VANPJKEY06 = "VANPJKEY06"                'ÊÞÆÝ¸ÞŒv‰æÌ§²Ù       
    Public Const G_CONST_KEY_VANPJKEY07 = "VANPJKEY07"                'ÊÞÆÝ¸ÞŒv‰æÌ§²Ù       
    Public Const G_CONST_KEY_VANPJKEY08 = "VANPJKEY08"                'ÊÞÆÝ¸ÞŒv‰æÌ§²Ù       
    Public Const G_CONST_KEY_VANPJKEY09 = "VANPJKEY09"                'ÊÞÆÝ¸ÞŒv‰æÌ§²Ù       
    Public Const G_CONST_KEY_VANPJKEY10 = "VANPJKEY10"                'ÊÞÆÝ¸ÞŒv‰æÌ§²Ù       
    Public Const G_CONST_KEY_VANPJKEY11 = "VANPJKEY11"                'ÊÞÆÝ¸ÞŒv‰æÌ§²Ù       
    Public Const G_CONST_KEY_VANPJKEY12 = "VANPJKEY12"                'ÊÞÆÝ¸ÞŒv‰æÌ§²Ù       
    Public Const G_CONST_KEY_WKNUMBERKEY00 = "WKNUMBERKEY00"          'Ž©“®•ï‘•‹@ÅÝÊÞØÝ¸ÞÌ§²Ù 
    Public Const G_CONST_KEY_WKNUMBERKEY01 = "WKNUMBERKEY01"          'Ž©“®•ï‘•‹@ÅÝÊÞØÝ¸ÞÌ§²Ù 

    '*******************************************************************************
    '* ‹@”\     : Ì¨°ÙÄÞ’è‹`
    '* ˆø”     : pEx = ExtendedƒIƒuƒWƒFƒNƒg
    '* @@@   : pTbl = Ã°ÌÞÙID
    '* –ß‚è’l   : ³íI—¹Žž=True
    '* ”õl     : ‚È‚µ
    '*******************************************************************************
    'Public Function fAddField(ByRef pEx As BtLib.Extended, ByVal pTbl As String) As Boolean

    '    fAddField = False

    '    Try
    '        With pEx
    '            Select Case pTbl
    '                Case G_CONST_TBL_RL2RL
    '                    .AddField("Bhk")
    '                    .AddField("ChgBhk")
    '                    .AddField("CenterCode")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_LN2LN
    '                    .AddField("PackLine")
    '                    .AddField("ChgPackLine")
    '                    .AddField("CenterCode")
    '                    .AddField("CalFlag")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_PRESETBHK
    '                    .AddField("PackLine")
    '                    .AddField("PreBhk")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_IDCNV
    '                    .AddField("Code")
    '                    .AddField("Znc")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_PICSTYPE
    '                    .AddField("PicsType")
    '                    .AddField("Permit")
    '                    .AddField("Name")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_CUSTOMER
    '                    .AddField("CstmId")
    '                    .AddField("CstmCode")
    '                    .AddField("CstmAccount")
    '                    .AddField("CstmName")
    '                    .AddField("CstmSName")
    '                    .AddField("CstmChgName")
    '                    .AddField("CldrCode")
    '                    .AddField("PostCode")
    '                    .AddField("CstmAdrs1")
    '                    .AddField("CstmAdrs2")
    '                    .AddField("CstmAdrs3")
    '                    .AddField("Tel")
    '                    .AddField("MobilPhon")
    '                    .AddField("Fax")
    '                    .AddField("Mail")
    '                    .AddField("CurnCode")
    '                    .AddField("CreateDate")
    '                    .AddField("CreateEmp")
    '                    .AddField("UpdDate")
    '                    .AddField("UpdEmp")
    '                    .AddField("DelDate")
    '                    .AddField("DelEmp")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_CENTER
    '                    .AddField("CenterCode")
    '                    .AddField("CenterCodeName")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_TANAVOL
    '                    .AddField("PicsType")
    '                    .AddField("TanaType")
    '                    .AddField("CaseType")
    '                    .AddField("Qty")
    '                    .AddField("CreateDate")
    '                    .AddField("CreateEmp")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_CALENDAR
    '                    .AddField("CalendarCode")
    '                    .AddField("Date")
    '                    .AddField("Shift")
    '                    .AddField("Week")
    '                    .AddField("WorkID")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_CORP
    '                    .AddField("PicsUser")
    '                    .AddField("PicsUserName")
    '                    .AddField("PostCode")
    '                    .AddField("UserAdress1")
    '                    .AddField("UserAdress2")
    '                    .AddField("UserAdress3")
    '                    .AddField("Tel")
    '                    .AddField("Response")
    '                    .AddField("SoftwareTel")
    '                    .AddField("SoftwarePerson")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_SPM
    '                    .AddField("YYYYMMDD")
    '                    .AddField("Kukuri")
    '                    .AddField("PicsType")
    '                    .AddField("CstmId")
    '                    .AddField("CstmCode")
    '                    .AddField("CenterCode")
    '                    .AddField("Bhk")
    '                    .AddField("KasoBhk")
    '                    .AddField("Kojino")
    '                    .AddField("Msc")
    '                    .AddField("Pnt")
    '                    .AddField("Trm")
    '                    .AddField("Gr")
    '                    .AddField("SetDaisu")
    '                    .AddField("Line")
    '                    .AddField("KasoLine")
    '                    .AddField("PartNo")
    '                    .AddField("PartID")
    '                    .AddField("PartCL")
    '                    .AddField("PartZnc")
    '                    .AddField("Inz")
    '                    .AddField("CartonFrom")
    '                    .AddField("CartonTo")
    '                    .AddField("CartonTume")
    '                    .AddField("CartonType")
    '                    .AddField("HosoYou")
    '                    .AddField("HosoTan")
    '                    .AddField("Filler1")
    '                    .AddField("HosoZai")
    '                    .AddField("Nisugata")
    '                    .AddField("Shuno")
    '                    .AddField("Location")
    '                    .AddField("PmakerCode")
    '                    .AddField("PartName")
    '                    .AddField("Filler2")
    '                Case G_CONST_TBL_PLAN
    '                    .AddField("YYYYMMDD")
    '                    .AddField("Kukuri")
    '                    .AddField("PicsType")
    '                    .AddField("CstmId")
    '                    .AddField("CstmCode")
    '                    .AddField("CenterCode")
    '                    .AddField("Kojino")
    '                    .AddField("YYYYMMDDS")
    '                    .AddField("Kojo")
    '                    .AddField("KojoSuf")
    '                    .AddField("BunKojo")
    '                    .AddField("KasoLine")
    '                    .AddField("Line")
    '                    .AddField("OffDate")
    '                    .AddField("OffTime")
    '                    .AddField("Msc")
    '                    .AddField("Pnt")
    '                    .AddField("Trm")
    '                    .AddField("Lot")
    '                    .AddField("Gr")
    '                    .AddField("Seq")
    '                    .AddField("SetDaisu")
    '                    .AddField("PackSeq")
    '                    .AddField("KiwakuBhk")
    '                    .AddField("KiwakuCode")
    '                    .AddField("KiwakuID")
    '                    .AddField("MakuraBhk")
    '                    .AddField("MakuraCode")
    '                    .AddField("MakuraID")
    '                    .AddField("Base")
    '                    .AddField("McKasoL")
    '                    .AddField("OilKB")
    '                    .AddField("BekkonKB")
    '                    .AddField("Flag")
    '                    .AddField("DateStartJ")
    '                    .AddField("TimeStartJ")
    '                    .AddField("DateEndJ")
    '                    .AddField("TimeEndJ")
    '                    .AddField("Rldate")
    '                    .AddField("ExpoDate")
    '                    .AddField("ExpoTime")
    '                    .AddField("CalFlag")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_LCTNMC
    '                    .AddField("Product")
    '                    .AddField("Bhk")
    '                    .AddField("PartNo")
    '                    .AddField("PartCL")
    '                    .AddField("PartID")
    '                    .AddField("PartZnc")
    '                    .AddField("Location")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_JUMP
    '                    .AddField("Flag")
    '                    .AddField("KD1")
    '                    .AddField("S6030")
    '                    .AddField("PartNo")
    '                    .AddField("PartCL")
    '                    .AddField("Znc")
    '                    .AddField("Tejun")
    '                    .AddField("Maker")
    '                    .AddField("Nohinno")
    '                    .AddField("NonyuDateS")
    '                    .AddField("DateJikoku")
    '                    .AddField("NonyuQty")
    '                    .AddField("Bhk")
    '                    .AddField("Bhk2")
    '                    .AddField("Nisugata")
    '                    .AddField("Shuno")
    '                    .AddField("NonyuBox")
    '                    .AddField("Location")
    '                    .AddField("NonyuQtyJ")
    '                    .AddField("StationNo")
    '                    .AddField("Worker")
    '                    .AddField("NonyuDateJ")
    '                    .AddField("NonyuTimeJ")
    '                    .AddField("SerialFrom")
    '                    .AddField("SerialTo")
    '                    .AddField("DensoFlag")
    '                    .AddField("DensoDate")
    '                    .AddField("DensoTime")
    '                    .AddField("DeleteDate")
    '                    .AddField("KanriKB")
    '                    .AddField("NonyuLot")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_PACKPLAN
    '                    .AddField("Status")
    '                    .AddField("PicsType")
    '                    .AddField("Cstmid")
    '                    .AddField("CstmCode")
    '                    .AddField("CenterCode")
    '                    .AddField("Bhk")
    '                    .AddField("Product")
    '                    .AddField("WkSumDate")
    '                    .AddField("KojiNo")
    '                    .AddField("DistPana")
    '                    .AddField("JobNo")
    '                    .AddField("ScheduleNo")
    '                    .AddField("ShipQty")
    '                    .AddField("AdviceNo")
    '                    .AddField("MaloxOrderNo")
    '                    .AddField("DistOndo")
    '                    .AddField("PSPOCstmCode")
    '                    .AddField("OrderType")
    '                    .AddField("LabelKB")
    '                    .AddField("CenterCodePal")
    '                    .AddField("BhkPal")
    '                    .AddField("SectionIDPal")
    '                    .AddField("SectionCodePal")
    '                    .AddField("Date")
    '                    .AddField("OffDateTime")
    '                    .AddField("PackSeq")
    '                    .AddField("Line")
    '                    .AddField("Aic")
    '                    .AddField("CaseNo")
    '                    .AddField("SetDaisu")
    '                    .AddField("UnitKB")
    '                    .AddField("UnitloadNo")
    '                    .AddField("CaseID")
    '                    .AddField("UnitType")
    '                    .AddField("UnitLot")
    '                    .AddField("Tume")
    '                    .AddField("PalDate")
    '                    .AddField("PalTime")
    '                    .AddField("PalEmp")
    '                    .AddField("VanDate")
    '                    .AddField("VanTime")
    '                    .AddField("VanEmp")
    '                    .AddField("VanPlan")
    '                    .AddField("UnitUL")
    '                    .AddField("UnitULKukuri")
    '                    .AddField("YYYYMMDDSHHMM")
    '                    .AddField("CenterCodeCtn")
    '                    .AddField("BhkCtn")
    '                    .AddField("SectionIDCtn")
    '                    .AddField("SectionCodeCtn")
    '                    .AddField("CartonFrom")
    '                    .AddField("CartonTo")
    '                    .AddField("CartonNo")
    '                    .AddField("ModuleNo1")
    '                    .AddField("CartonType")
    '                    .AddField("CartonTume")
    '                    .AddField("ModulNET")
    '                    .AddField("ModulGROSS")
    '                    .AddField("PickDate")
    '                    .AddField("PickTime")
    '                    .AddField("PickEmp")
    '                    .AddField("DistLocation")
    '                    .AddField("DistMaker")
    '                    .AddField("PartTag")
    '                    .AddField("ModuleNo2")
    '                    .AddField("SupplyKB")
    '                    .AddField("ModuleUL")
    '                    .AddField("ModuleKukuri")
    '                    .AddField("CenterCodeHoso")
    '                    .AddField("BhkHoso")
    '                    .AddField("SectionIDHoso")
    '                    .AddField("SectionCodeHoso")
    '                    .AddField("ItemID")
    '                    .AddField("ItemCode")
    '                    .AddField("PartID")
    '                    .AddField("DisplayItem")
    '                    .AddField("ItemCode1")
    '                    .AddField("DisplayItem1")
    '                    .AddField("ItemCode2")
    '                    .AddField("DisplayItem2")
    '                    .AddField("ItemCode3")
    '                    .AddField("DisplayItem3")
    '                    .AddField("PartName")
    '                    .AddField("Inz")
    '                    .AddField("HosoYou")
    '                    .AddField("HosoTan")
    '                    .AddField("HosoZai")
    '                    .AddField("CaseType")
    '                    .AddField("HinmokuID")
    '                    .AddField("LF")
    '                    .AddField("LabelLctn")
    '                    .AddField("StockLctn")
    '                    .AddField("PickLctn1")
    '                    .AddField("PickLctn2")
    '                    .AddField("TempSerial")
    '                    .AddField("SerialNo")
    '                    .AddField("SerialID")
    '                    .AddField("WorkNo")
    '                    .AddField("SerialOndo")
    '                    .AddField("SfromOndo")
    '                    .AddField("SToOndo")
    '                    .AddField("EcnJcs")
    '                    .AddField("SuffixPana")
    '                    .AddField("InitialKB")
    '                    .AddField("Mix")
    '                    .AddField("MixKB")
    '                    .AddField("MakerFord")
    '                    .AddField("StockDate")
    '                    .AddField("StockTime")
    '                    .AddField("StockEmp")
    '                    .AddField("RL")
    '                    .AddField("HazardKB")
    '                    .AddField("MarkingKB")
    '                    .AddField("PlantName")
    '                    .AddField("PlantCode")
    '                    .AddField("NonInspectCode")
    '                    .AddField("InspectCode")
    '                    .AddField("BunkatuJ")
    '                    .AddField("PrintDate")
    '                    .AddField("PrintTime")
    '                    .AddField("Worker")
    '                    .AddField("MasterWeight")
    '                    .AddField("SampleWeight")
    '                    .AddField("CountWeight")
    '                    .AddField("QcAdd")
    '                    .AddField("WrapEmp")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_LOCATION
    '                    .AddField("Product")
    '                    .AddField("Cstmid")
    '                    .AddField("CstmCode")
    '                    .AddField("CenterCode")
    '                    .AddField("Bhk")
    '                    .AddField("GrLocation")
    '                    .AddField("PairLocation")
    '                    .AddField("Location")
    '                    .AddField("AkiKB")
    '                    .AddField("LF")
    '                    .AddField("LocationName")
    '                    .AddField("TanaType")
    '                    .AddField("HokanType")
    '                    .AddField("PicsType")
    '                    .AddField("Filler1")
    '                    .AddField("ItemID")
    '                    .AddField("ItemCode")
    '                    .AddField("DispItemCode")
    '                    .AddField("Qty")
    '                    .AddField("StockDate")
    '                    .AddField("StockEmp")
    '                    .AddField("PickDate")
    '                    .AddField("PickEmp")
    '                    .AddField("MaxWeight")
    '                    .AddField("TanaFromDate")
    '                    .AddField("TanaToDate")
    '                    .AddField("PriLoca")
    '                    .AddField("UsedKB")
    '                    .AddField("Filler2")
    '                Case G_CONST_TBL_STOCK
    '                    .AddField("PicsType")
    '                    .AddField("Cstmid")
    '                    .AddField("CstmCode")
    '                    .AddField("CenterCode")
    '                    .AddField("Bhk")
    '                    .AddField("Location")
    '                    .AddField("SerialNo")
    '                    .AddField("SerialID")
    '                    .AddField("Filler1")
    '                    .AddField("Itemid")
    '                    .AddField("ItemCode")
    '                    .AddField("DispItemCode")
    '                    .AddField("Qty")
    '                    .AddField("ItemWeight")
    '                    .AddField("ZaikoStatus")
    '                    .AddField("StockDate")
    '                    .AddField("StockTime")
    '                    .AddField("StockEmp")
    '                    .AddField("Filler2")
    '                Case G_CONST_TBL_LCTNGR
    '                    .AddField("CenterCode")
    '                    .AddField("Bhk")
    '                    .AddField("GrLocation")
    '                    .AddField("Filler1")
    '                    .AddField("LF")
    '                    .AddField("TanaType")
    '                    .AddField("CreateDate")
    '                    .AddField("HinmokuID")
    '                    .AddField("Filler2")
    '                Case G_CONST_TBL_TANASIZE
    '                    .AddField("Type")
    '                    .AddField("L")
    '                    .AddField("W")
    '                    .AddField("H")
    '                    .AddField("CreateDate")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_PARTMTL
    '                    .AddField("YYYYMMDD")
    '                    .AddField("PicsType")
    '                    .AddField("Cstmid")
    '                    .AddField("CstmCode")
    '                    .AddField("Bhk")
    '                    .AddField("ItemID")
    '                    .AddField("ItemCode")
    '                    .AddField("HYou")
    '                    .AddField("HTan")
    '                    .AddField("HZai")
    '                    .AddField("SpecNo")
    '                    .AddField("Seq")
    '                    .AddField("ZaiID")
    '                    .AddField("ZaiCode")
    '                    .AddField("ZaiName")
    '                    .AddField("ZaiQty")
    '                    .AddField("ZaiTan")
    '                    .AddField("MPrintKB")
    '                    .AddField("CreateDate")
    '                    .AddField("CreateEmp")
    '                    .AddField("UpdateDate")
    '                    .AddField("UpdateEmp")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_PARTM
    '                    .AddField("PicsType")
    '                    .AddField("Cstmid")
    '                    .AddField("CstmCode")
    '                    .AddField("Bhk")
    '                    .AddField("Filler1")
    '                    .AddField("Itemid")
    '                    .AddField("ItemCode")
    '                    .AddField("DispItemCode")
    '                    .AddField("HosokiKB")
    '                    .AddField("LabelKB")
    '                    .AddField("NisugataType")
    '                    .AddField("Shuno")
    '                    .AddField("HosokiMax")
    '                    .AddField("HosokiMin")
    '                    .AddField("Weight")
    '                    .AddField("SizeL")
    '                    .AddField("SizeW")
    '                    .AddField("SizeH")
    '                    .AddField("QcAdd")
    '                    .AddField("PartName")
    '                    .AddField("Counting")
    '                    .AddField("CreateDate")
    '                    .AddField("CreateEmp")
    '                    .AddField("UpdateDate")
    '                    .AddField("UpdateEmp")
    '                    .AddField("DeleteDate")
    '                    .AddField("DeleteEmp")
    '                    .AddField("KanriKB")
    '                    .AddField("MtlKB")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_HOSOM
    '                    .AddField("PicsType")
    '                    .AddField("Cstmid")
    '                    .AddField("CstmCode")
    '                    .AddField("Bhk")
    '                    .AddField("Filler1")
    '                    .AddField("Itemid")
    '                    .AddField("ItemCode")
    '                    .AddField("DispItemCode")
    '                    .AddField("HosoTani")
    '                    .AddField("Bunkatu")
    '                    .AddField("HosoZai")
    '                    .AddField("KanzanZai")
    '                    .AddField("CreateDate")
    '                    .AddField("CreateEmp")
    '                    .AddField("UpdateDate")
    '                    .AddField("UpdateEmp")
    '                    .AddField("DeleteDate")
    '                    .AddField("DeleteEmp")
    '                    .AddField("Filler2")
    '                Case G_CONST_TBL_STATUS
    '                    .AddField("PicsType")
    '                    .AddField("Status")
    '                    .AddField("StatusName")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_PICSUSER
    '                    .AddField("EmplCode")
    '                    .AddField("System")
    '                    .AddField("EmplName")
    '                    .AddField("Sex")
    '                    .AddField("Birthday")
    '                    .AddField("SectID")
    '                    .AddField("SectCode")
    '                    .AddField("PassWord")
    '                    .AddField("Access")
    '                    .AddField("Position")
    '                    .AddField("EntrDate")
    '                    .AddField("QuitDate")
    '                    .AddField("InstDate")
    '                    .AddField("UpdtDate")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_WKNUMBER
    '                    .AddField("WorkNo")
    '                    .AddField("PicsType")
    '                    .AddField("CenterCode")
    '                    .AddField("YYYYMMDD")
    '                    .AddField("Cstmid")
    '                    .AddField("CstmCode")
    '                    .AddField("Bhk")
    '                    .AddField("Filler1")
    '                    .AddField("ItemID")
    '                    .AddField("ItemCode")
    '                    .AddField("DispItemCode")
    '                    .AddField("SerialFrom")
    '                    .AddField("SerialTo")
    '                    .AddField("Maker")
    '                    .AddField("Nohinno")
    '                    .AddField("NonyuQty")
    '                    .AddField("ZaikoQty")
    '                    .AddField("PartName")
    '                    .AddField("PrintDate")
    '                    .AddField("PrintTime")
    '                    .AddField("PrintEmp")
    '                    .AddField("Filler2")
    '                Case G_CONST_TBL_PSERIAL
    '                    .AddField("PicsType")
    '                    .AddField("Cstmid")
    '                    .AddField("CstmCode")
    '                    .AddField("CenterCode")
    '                    .AddField("Bhk")
    '                    .AddField("ItemID")
    '                    .AddField("ItemCode")
    '                    .AddField("SerialNo")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_CROSS
    '                    .AddField("PicsType")
    '                    .AddField("CstmID")
    '                    .AddField("CstmCode")
    '                    .AddField("ItemID")
    '                    .AddField("ItemCode")
    '                    .AddField("Edit1")
    '                    .AddField("DispItemCode1")
    '                    .AddField("Filler1")
    '                    .AddField("ChgID")
    '                    .AddField("ChgCode")
    '                    .AddField("Edit2")
    '                    .AddField("DispItemCode2")
    '                    .AddField("CreateDate")
    '                    .AddField("CreateEmp")
    '                    .AddField("Filler2")
    '                Case G_CONST_TBL_DELIVERR
    '                    .AddField("ReportDate")
    '                    .AddField("ReportTime")
    '                    .AddField("Nohinno")
    '                    .AddField("MakerCode")
    '                    .AddField("PicsType")
    '                    .AddField("CstmID")
    '                    .AddField("CstmCode")
    '                    .AddField("CenterCode")
    '                    .AddField("Bhk")
    '                    .AddField("Filler1")
    '                    .AddField("ItemID")
    '                    .AddField("ItemCode")
    '                    .AddField("DispItemCode")
    '                    .AddField("NohinDate")
    '                    .AddField("NohinTime")
    '                    .AddField("NohinQtyP")
    '                    .AddField("NohinQtyJ")
    '                    .AddField("PartLabelNo")
    '                    .AddField("Tume")
    '                    .AddField("SerialNo")
    '                    .AddField("SerialID")
    '                    .AddField("ShipPlanDate")
    '                    .AddField("PackSeq")
    '                    .AddField("PlanLocation")
    '                    .AddField("Aic")
    '                    .AddField("CaseNo")
    '                    .AddField("CartonNo")
    '                    .AddField("CartonType")
    '                    .AddField("HosoYou")
    '                    .AddField("HosoTan")
    '                    .AddField("HosoZai")
    '                    .AddField("Memo")
    '                    .AddField("OfficeStat")
    '                    .AddField("PlantStat")
    '                    .AddField("StartEmp")
    '                    .AddField("EndEmp")
    '                    .AddField("RcvDate")
    '                    .AddField("RcvTime")
    '                    .AddField("EndDate")
    '                    .AddField("EndTime")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_PARTVOL
    '                    .AddField("PicsType")
    '                    .AddField("Cstmid")
    '                    .AddField("CstmCode")
    '                    .AddField("CenterCode")
    '                    .AddField("Bhk")
    '                    .AddField("Filler1")
    '                    .AddField("Itemid")
    '                    .AddField("ItemCode")
    '                    .AddField("DispItemCode")
    '                    .AddField("YYYYMM")
    '                    .AddField("NDQty")
    '                    .AddField("NNQty")
    '                    .AddField("NQtyTotal")
    '                    .AddField("PDQty")
    '                    .AddField("PNQty")
    '                    .AddField("PQtyTotal")
    '                    .AddField("JDQty")
    '                    .AddField("JNQty")
    '                    .AddField("JQtyTotal")
    '                    .AddField("Zan")
    '                    .AddField("Filler2")
    '                Case G_CONST_TBL_SECTION
    '                    .AddField("CenterCode")
    '                    .AddField("SectionID")
    '                    .AddField("Section")
    '                    .AddField("YYYYMMDD")
    '                    .AddField("YYYYMMDDS")
    '                    .AddField("Seq")
    '                    .AddField("Hinmoku")
    '                    .AddField("Hinmei")
    '                    .AddField("CartonFrom")
    '                    .AddField("CartonTo")
    '                    .AddField("Itemid")
    '                    .AddField("ItemCode")
    '                    .AddField("Lot1")
    '                    .AddField("Lot2")
    '                    .AddField("Lot3")
    '                    .AddField("MaxPickQ")
    '                    .AddField("Bhk")
    '                    .AddField("Dansa")
    '                    .AddField("Access")
    '                    .AddField("Login")
    '                    .AddField("HtNo")
    '                    .AddField("User")
    '                    .AddField("OffDate")
    '                    .AddField("OffTime")
    '                    .AddField("Name")
    '                    .AddField("LF")
    '                    .AddField("Line")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_PICKSEC
    '                    .AddField("CenterCode")
    '                    .AddField("StartLoca")
    '                    .AddField("EndLoca")
    '                    .AddField("SectionID")
    '                    .AddField("SectionCode")
    '                    .AddField("CreateDate")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_PICSMSG
    '                    .AddField("SystemCode")
    '                    .AddField("MsgID")
    '                    .AddField("MsgNo")
    '                    .AddField("Msg")
    '                    .AddField("Button")
    '                    .AddField("Icon")
    '                    .AddField("OtoNo")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_PARTCTL
    '                    .AddField("PicsType")
    '                    .AddField("Cstmid")
    '                    .AddField("CstmCode")
    '                    .AddField("Bhk")
    '                    .AddField("ItemID")
    '                    .AddField("ItemCode")
    '                    .AddField("Access")
    '                    .AddField("Login")
    '                    .AddField("Line")
    '                    .AddField("Date")
    '                    .AddField("Seq")
    '                    .AddField("OffDate")
    '                    .AddField("OffTime")
    '                    .AddField("Product")
    '                    .AddField("Aic")
    '                    .AddField("CaseNo")
    '                    .AddField("SetDaisu")
    '                    .AddField("CartonFrom")
    '                    .AddField("CartonTo")
    '                    .AddField("CartonTume")
    '                    .AddField("CartonType")
    '                    .AddField("PartName")
    '                    .AddField("Inz")
    '                    .AddField("BunkatuJ")
    '                    .AddField("Tume")
    '                    .AddField("Location")
    '                    .AddField("NohinNo")
    '                    .AddField("PMaker")
    '                    .AddField("AccessDate")
    '                    .AddField("AccessTime")
    '                    .AddField("Worker")
    '                    .AddField("SerialNo")
    '                    .AddField("SerialFrom")
    '                    .AddField("SerialTo")
    '                    .AddField("SagyoKB")
    '                    .AddField("OilKB")
    '                    .AddField("MasterWeight")
    '                    .AddField("SampleWeight")
    '                    .AddField("CountWeight")
    '                    .AddField("QcAdd")
    '                    .AddField("KanriKB")
    '                    .AddField("MtlKB")
    '                    .AddField("LabelKB")
    '                    .AddField("Shuno")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_HTCTRL
    '                    .AddField("HTNumber")
    '                    .AddField("HTIP")
    '                    .AddField("Country")
    '                    .AddField("SectionID")
    '                    .AddField("Section")
    '                    .AddField("Cstmid")
    '                    .AddField("CstmCode")
    '                    .AddField("ExeName")
    '                    .AddField("EmplCode")
    '                    .AddField("SearchKey")
    '                    .AddField("PackType")
    '                    .AddField("S6030")
    '                    .AddField("Filler")
    '                Case G_CONST_TBL_HTTITLE
    '                    .AddField("Country")
    '                    .AddField("PrgID")
    '                    .AddField("Title")
    '                    .AddField("Access")
    '                    .AddField("Version")
    '                    .AddField("SetDate")
    '                    .AddField("LanCount")
    '                    .AddField("Filler")
    '                Case Else
    '            End Select
    '        End With

    '        fAddField = True

    '    Catch ex As Exception
    '        sErrLog(gAppName, "fAddField", ex.Message)

    '    End Try

    'End Function

End Module

