CLEAR >>CREATE CURSOR csrTest (cField1 c(10)) >>lcCmd = "" >>DO WHILE LENC(m.lcCmd) < 4740 >> lcCmd = m.lcCmd + "csrTest.cField1 with csrTest.cField1," >>ENDDO >>?LENC(m.lcCmd) >>lcCmd = LEFTC(m.lcCmd,LENC(m.lcCmd)-1) >>replace &lcCmd. IN csrTest>>
>lnLength = 8190 >EXECSCRIPT(REPLICATE('*', lnLength)) > >lnLength = 8191 >EXECSCRIPT(REPLICATE('*', lnLength)) >I agree it seems to be something other than command line length, except that even when there is no syntax error in the concatenated string, it generates a syntax error after exceeding a certain length.