如何保存计算出的未绑定控件的结果 [英] how to save the result of calculated unbound control

查看:68
本文介绍了如何保存计算出的未绑定控件的结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




这是FishVal曾帮助的前一个(9/24/07)的帖子。

Hi,

This is the post continued from previous one (9/24/07) that FishVal had helped.

展开 | 选择 | < span class =codeLinkonclick =WordWrap(this);> Wrap | 行号

推荐答案

为方便起见,我在这里从其他帖子发布了GetFullName函数。
I am posting the GetFullName function here from the other thread for convenience.
展开 | 选择 | Wrap | 行号



我发布了为方便起见,GetFullName函数来自其他线程。
I am posting the GetFullName function here from the other thread for convenience.
展开 | 选择 | Wrap | 行号



OK ,绕过这个事实,除非改变为m,否则不会触发该功能ade应该像将GetFullName函数添加到Form Load事件一样简单。


这将使用当前值填充表单加载时的全名字段。


如果您只更新其中一个值,我不明白为什么它的工作不正确。或许你可以进一步解释。
OK, getting around the fact that the function is not being triggered unless a change is made should be as easy as adding the GetFullName function to the Form Load event as well.

This will populate the full name field on form load with with the current value.

I don''t see why its working incorrectly if you only update one of the values though. Prehaps you could explain that further.



感谢您加入旧线程的额外努力!


它仍然无效。



.newName = Nz(.M_nfname,.M_fname)& " " &安培; Nz(.M_nlname,.M_lname)...

当M_nlname中没有更新时,M_lname没有被带入.newName。


它只显示新的第一个只更新名字时在.newName中输入名称,我希望它在.newName中显示新的名字和旧的姓氏。

Thanks for your extra effort in bringing the old thread!

It''s still not working.
In
.newName = Nz(.M_nfname, .M_fname) & " " & Nz(.M_nlname, .M_lname)...
the M_lname is not brought into .newName when no updated in M_nlname.

It shows only new first name in .newName when only first name updated, and I want it displays the new first name and an old last name in .newName..


这篇关于如何保存计算出的未绑定控件的结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆