fxjpost - Sunday, December 25, 2011 8:18 PM:
dear all friend
How to open the itemtype condition query data, and then modify and then save to the database?
Use the following code but did not successfully modified
Item cux_formObj=this.newItem("cux_form","get");
cux_formObj.setProperty("cux_field1","fff");
Item retobj=cux_formObj.apply();
cux_formObj.setProperty("cux_field2","test");
cux_formObj.apply();
Please give me some sample code,thanks
fxjpost - Monday, December 26, 2011 1:39 AM:
justinlee - Monday, December 26, 2011 4:31 AM:
dear all friend
How to open the itemtype condition query data, and then modify and then save to the database?
Use the following code but did not successfully modified
Item cux_formObj=this.newItem("cux_form","get");
cux_formObj.setProperty("cux_field1","fff");
Item retobj=cux_formObj.apply();
cux_formObj.setProperty("cux_field2","test");
cux_formObj.apply();
Please give me some sample code,thanks
Hi Xinju,
I think you must use code bellow
retobj.setProperty("cux_field2","test");
cux_formObj.apply('edit');
P/s: Sorry my English
Lee