Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要显示一个数字(实数),即 1234.567,如“1.234,56”或“1,234.56”。我知道我必须使用 Format() 但我无法弄清楚。(它用于将“控制源”属性设置为某个数字字段的文本框)
这应该这样做:
Format(number, "#,##0.00")
实际使用的分隔符取决于当前的语言环境设置。
以下方法在 ms access 2000-2003 中对我有用。您应该在表格和报告中进行更改。桌子。转到所需字段,将数据类型更改为 Nnmber,将字段大小更改为十进制,格式更改为标准。
报告。选择你想要千位分隔符的控件,选择属性格式选择标准,,小数位 2。