哪位高手讲一讲dw_1.update(true,false)的真实含义!!!
第二个参数的含义是什么?
什么是resetflag?
实际用的时候做什么用?
dwcontrol A reference to a DataWindow control, DataStore, or child DataWindow.
accept
(optional) A boolean value specifying whether the DataWindow control or DataStore should automatically perform an AcceptText prior to performing the update:?TRUE ?(Default) Perform AcceptText. The update is canceled if the data fails validation.?FALSE ?Do not perform AcceptText.
resetflag
(optional) A boolean value specifying whether dwcontrol should automatically reset the update flags:?TRUE ?(Default) Reset the flags.?FALSE ?Do not reset the flags.