发表于:2007-09-28 20:31:00
6楼
再来一个更长的
strSQL="Insert Table_QDSK_Configure (SetupTime,QDSKID,Description,Station,ButtonID," _
& "ButtonName,InputAddress,OutputAddress,AndonBoard1,AndonBoard2,AndonBoard3," _
& "Lamp11,Lamp21,Lamp31,Color,Music,MusicTime,MusicClass) Values ('" _
& sTime & "','" & i+1 & "','" & sPubQDDesc(i) & "','" & sPubQDSTN(i) & "','" _
& j+1 & "','" & sPubQDBTDesc(i,j) & "','" & iPubQDIAddr(i,j) & "','" _
& iPubQDOAddr(i,j) & "','" & iPubQDABorad1(i,j) & "','" & iPubQDABorad2(i,j) & "','" _
& iPubQDABorad3(i,j) & "','" & iPubQDLamp11(i,j) & "','" & iPubQDLamp21(i,j) & "','" _
& iPubQDLamp31(i,j) & "','" & iPubQDColor(j) & "','" & iPubQDMu(i,j) & "','" _
& iPubQDMuTi(i,j) & "','" & iPubQDMuCl(j) & "')"