ms-access-2013 - UNbound Text Box wont save
问题描述
I have a form onto which I have placed an unbound text box. This box is designed to calculate the total of 4 other bound text boxes which have simple numerical values in. I have used the expression builder in the unbound text box to set its control source property i.e. =([box1]+[box2]+[box3]+[box4])
When I first put this in it works fine. However after I close and then reopen the data base the box sits on the form saying #NAME? as if it has lost its control source. I have checked the data source after and nothing seems to be wrong. Any ideas why its happening. Its a pain as I have a button which when pressed opens a report based on the value in the unbound text box.
解决方案
不完全确定为什么它现在可以工作,但我已将文本框和计算重新添加到源代码中,它似乎很好。也许只是我之前尝试中的一个小故障......我使用了 =sum 解决方案而不是 =Nz 解决方案。也许我的访问版本或我的数据库只是变化无常...无论如何谢谢
推荐阅读
- python - 如果项目是列表中的最后一个,有什么方法可以排除最后一个字符?
- arrays - 从对象数组中选择某些项目以在 Typescript 中创建新数组?
- javascript - 如何以可以停止和重新启动的方式制作 setInterval 函数?
- javascript - 如何更改 Chart.js-RangeSlider 的初始值?[解决了]
- python - 正则表达式重新匹配超过 2 个数字的单词
- javascript - React JS App 中 .env 文件(环境变量)的安全性
- javascript - 如何在 OpenLayers 中更改轴方向
- python - 如何使用递归垂直打印列表?
- nginx - 在 goaccess 中修改格式
- java - 检查编辑文本是否为空