| 发表于:2007-07-06 12:58:4614楼 得分:0 |
sub sp_sort(s_table as string, d_table, f_key as string, optional s_key as string) dim sql as string dim strothercol as string strothercol = "[fewcid], " strothercol = strothercol & "[fewcdatmasid] , " strothercol = strothercol & "[fewcdatno] , " ' strothercol = strothercol & "[fewcrow] , " '+++++++++++++++++++++++++++++++++++++++20070709+++++++++++++++++++++++++++++++++ strothercol = strothercol & "[fewcdia] , " strothercol = strothercol & "[fewcpage] , " strothercol = strothercol & "[fewcfr] , " '+++++++++++++++++++++++++++++++++++++++20070709+++++++++++++++++++++++++++++++++ strothercol = strothercol & "[fewcgaimasid] , " strothercol = strothercol & "[fewccircuit] , " strothercol = strothercol & "[fewcdivision] , " strothercol = strothercol & "[fewcdivno] , " strothercol = strothercol & "[fewcdivcheck] , " strothercol = strothercol & "[fewcdekid1], " strothercol = strothercol & "[fewcdekid2], " strothercol = strothercol & "[fewcdestination1] , " strothercol = strothercol & "[fewcdestination2] , " strothercol = strothercol & "[fewcclrmasid] , " strothercol = strothercol & "[fewccutprint], " strothercol = strothercol & "[fewcmark] , " strothercol = strothercol & "[fewclength] , " strothercol = strothercol & "[fewcforceprint] , " strothercol = strothercol & "[fewcsetflag1] , " strothercol = strothercol & "[fewcforergb1] , " strothercol = strothercol & "[fewcbackrgb1] , " strothercol = strothercol & "[fewcsetflag2] , " strothercol = strothercol & "[fewcforergb2] , " strothercol = strothercol & "[fewcbackrgb2] , " strothercol = strothercol & "[fewcsetflag3] , " strothercol = strothercol & "[fewcforergb3] , " strothercol = strothercol & "[fewcbackrgb3] , " strothercol = strothercol & "[fewcsetflag4] , " strothercol = strothercol & "[fewcforergb4] , " strothercol = strothercol & "[fewcbackrgb4] , " strothercol = strothercol & "[fewcsetflag5] , " strothercol = strothercol & "[fewcforergb5] , " strothercol = strothercol & "[fewcbackrgb5] , " strothercol = strothercol & "[fewcsetflag6] , " strothercol = strothercol & "[fewcforergb6] , " strothercol = strothercol & "[fewcbackrgb6] , " strothercol = strothercol & "[fewcsetflag7] , " strothercol = strothercol & "[fewcforergb7] , " strothercol = strothercol & "[fewcbackrgb7] , " strothercol = strothercol & "[fewcsetflag8] , " strothercol = strothercol & "[fewcforergb8] , " strothercol = strothercol & "[fewcbackrgb8] , " strothercol = strothercol & "[fewcsetflag9] , " strothercol = strothercol & "[fewcforergb9] , " strothercol = strothercol & "[fewcbackrgb9] , " strothercol = strothercol & "[fewcsetflag10] , " strothercol = strothercol & "[fewcforergb10] , " strothercol = strothercol & "[fewcbackrgb10] , " strothercol = strothercol & "[fewcsetflag11] , " strothercol = strothercol & "[fewcforergb11] , " strothercol = strothercol & "[fewcbackrgb11] , " strothercol = strothercol & "[fewcsetflag12] , " strothercol = strothercol & "[fewcforergb12] , " strothercol = strothercol & "[fewcbackrgb12] , " strothercol = strothercol & "[fewcprint], " strothercol = strothercol & "[fewcprintover], " strothercol = strothercol & "[fewccutprintover], " strothercol = strothercol & "[fewcdemprintover], " strothercol = strothercol & "[fewcupdivision] , " strothercol = strothercol & "[fewcupdivposition] , " strothercol = strothercol & "[fewcdowndivision] , " strothercol = strothercol & "[fewcdowndivposition], " strothercol = strothercol & "[fewc01division] , " strothercol = strothercol & "[fewc01divposition], " strothercol = strothercol & "[fewc02division] , " strothercol = strothercol & "[fewc02divposition], " strothercol = strothercol & "[fewc03division] , " strothercol = strothercol & "[fewc03divposition], " strothercol = strothercol & "[fewc04division] , " strothercol = strothercol & "[fewc04divposition], " strothercol = strothercol & "[fewc05division] , " strothercol = strothercol & "[fewc05divposition], " strothercol = strothercol & "[fewc06division] , " strothercol = strothercol & "[fewc06divposition], " strothercol = strothercol & "[fewc07division] , " strothercol = strothercol & "[fewc07divposition], " strothercol = strothercol & "[fewc08division] , " strothercol = strothercol & "[fewc08divposition], " strothercol = strothercol & "[fewc09division] , " strothercol = strothercol & "[fewc09divposition], " strothercol = strothercol & "[fewc10division] , " strothercol = strothercol & "[fewc10divposition], " strothercol = strothercol & "[fewc11division] , " strothercol = strothercol & "[fewc11divposition], " strothercol = strothercol & "[fewc12division] , " strothercol = strothercol & "[fewc12divposition], " strothercol = strothercol & "[fewc13division] , " strothercol = strothercol & "[fewc13divposition], " strothercol = strothercol & "[fewc14division] , " strothercol = strothercol & "[fewc14divposition], " strothercol = strothercol & "[fewc15division] , " strothercol = strothercol & "[fewc15divposition], " strothercol = strothercol & "[fewc16division] , " strothercol = strothercol & "[fewc16divposition], " strothercol = strothercol & "[fewc17division] , " strothercol = strothercol & "[fewc17divposition], " strothercol = strothercol & "[fewc18division] , " strothercol = strothercol & "[fewc18divposition], " strothercol = strothercol & "[fewc19division] , " strothercol = strothercol & "[fewc19divposition], " strothercol = strothercol & "[fewc20division] , " strothercol = strothercol & "[fewc20divposition], " strothercol = strothercol & "[fewc21division] , " strothercol = strothercol & "[fewc21divposition], " strothercol = strothercol & "[fewc22division] , " strothercol = strothercol & "[fewc22divposition], " strothercol = strothercol & "[fewc23division] , " strothercol = strothercol & "[fewc23divposition], " strothercol = strothercol & "[fewc24division] , " strothercol = strothercol & "[fewc24divposition], " strothercol = strothercol & "[fewc25division] , " strothercol = strothercol & "[fewc25divposition], " strothercol = strothercol & "[fewc26division] , " strothercol = strothercol & "[fewc26divposition], " strothercol = strothercol & "[fewc27division] , " strothercol = strothercol & "[fewc27divposition], " strothercol = strothercol & "[fewc28division] , " strothercol = strothercol & "[fewc28divposition], " strothercol = strothercol & "[fewc29division] , " strothercol = strothercol & "[fewc29divposition], " strothercol = strothercol & "[fewc30division] , " strothercol = strothercol & "[fewc30divposition], " strothercol = strothercol & "[fewcdeletekbn] , " strothercol = strothercol & "[fewcmikakunin] , " strothercol = strothercol & "[fewccreatedate] , " strothercol = strothercol & "[fewccreatename] , " strothercol = strothercol & "[fewcupdatedate] , " strothercol = strothercol & "[fewcupdatename] " | | |
|