且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Concat所有更改并在保存确认警报中显示

更新时间:2023-02-12 10:48:02

有几种方法可以做到这一点。一个可能是循环遍历每个控件,记录更改,将它们添加到某个字符串,最后显示字符串。我有时做的只是突出显示更改的字段。

There are several approaches to doing this. One could be be to make a loop running through each control, recording the changes, adding them to some string, and finally displaying the string. What I have sometimes done is to simply highlight the fields changed.


展开 | 选择 | Wrap | 行号


当你在更新之前调用highlight更改yu作为参数传递的内容,... boolean true?
when u call highlightchanges in before update what do yu pass as argument,...boolean true?


我传递boolean true作为参数并且突出显示未完成

但是代码执行的地方

#ctrl.BorderColor = vbRed
i passed boolean true as argument and the highlight was not done
but the code gets executed where
# ctrl.BorderColor = vbRed