> lcTemp = [DESCRIBE TABLE ] + UPPER(lcTableName) + [ '] + lcTableComment + ['] > wait window str(SQLEXEC(lnFBHandle, lcTemp)) > > > SCAN > IF NOT EMPTY(FldCaption) > lcTemp = [DESCRIBE FIELD ] + UPPER(ALLTRIM(FldName)) + [ TABLE ] + UPPER(lcTableName) + CHR(13) + CHR(10) + [ ';c;] + FldCaption + ['] > wait window str(SQLEXEC(lnFBHandle, lcTemp)) > ENDIF > ENDSCAN>I always get a -1 from SQLEXEC() where just before this code I have successfully execute the table creation code.