>should lcSql not be defined, as in
>
>LOCAL lcSqlYes, it's good programming practice to declare all variables in your program as local.
>I have it declared like this and part of the Sql string is still getting cut off. At least that is the way it appears from looking at the variable in the watch window. Am I looking at this wrong.In such case I use STRTOFILE() function.
STRTOFILE(lcSql, "mystring.txt")
MODIFY COMMAND mystring.txt
--sb--