Start a new topic

cannot update a column contains '||' with DBVIS

[This topic is migrated from our old forums. The original author name has been removed]

DBVIS version: 9.0.6 JDK: 1.7 OS: WIN8 X64 when i try to update a table record contains the string '||', DBVIS will auto cut the rest part of the String behind the '||' *here is the String i wanna update:* (d){ var WinTrigLst = d.WinTrigLst; var WinAct = d.WinAct; var obj = {}; if("1"== WinAct && ("9"== WinTrigLst || WinTrigLst.indexOf("12-") >= 0)) { obj.text = "预付费"; obj.value = "1"; }else{ obj.text = "后付费"; obj.value = "2"; } return obj; } *but the result is as belows:* (d){ var WinTrigLst = d.WinTrigLst; var WinAct = d.WinAct; var obj = {}; if("1"== WinAct && ("9"== WinTrigLst IS THIS A BUG OF DBVIS? Edited by: qi.qingli on May 6, 2013 9:40 AM Edited by: qi.qingli on May 6, 2013 9:41 AM

[This reply is migrated from our old forums. The original author name has been removed]

Re: cannot update a column contains '||' with DBVIS
It works, thks
[This reply is migrated from our old forums.]

Re: cannot update a column contains '||' with DBVIS
Qi, Open Tools->Tool Properties and chose General->Variables. Change Variable Delimiter from || to |||. Press Ok and try again. We have an open ticket to fix this. Regards Roger