文本框含回车符 转换成逗号间隔的字符串
str parmBatchId()
{
str 1000 tmpStr;
;
tmpStr = batchId;
tmpStr = strReplace(tmpStr,num2char(10),",");
tmpStr = strReplace(tmpStr,num2char(13),",");
tmpStr = strReplace(tmpStr,num2char(32),"");
return tmpStr;
}