数字字段默认为零 [英] Number field defaults to zero

查看:86
本文介绍了数字字段默认为零的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法阻止这种情况发生?我有一个包含许多数字类型字段的表,我讨厌必须手动进入每个字段以删除0默认值。有什么办法可以立刻杀掉它吗?


谢谢:)

Is there any way to stop this from happening? I have a table with lots of fields that are number types and I hate having to go in to every one by hand to remove the 0 default. Is there any way to kill it all at once?

thanks :)

推荐答案


有没有办法阻止这种情况发生?我有一个包含许多数字类型字段的表,我讨厌必须手动进入每个字段以删除0默认值。有什么方法可以立刻杀掉它吗?


谢谢:)
Is there any way to stop this from happening? I have a table with lots of fields that are number types and I hate having to go in to every one by hand to remove the 0 default. Is there any way to kill it all at once?

thanks :)



这对你很有用 - 只是将表名替换为tblEmployee或更好,将此代码放在Function中并将表名作为参数传递给它。如果您需要任何方面的帮助,请随时询问。


对不起绅士 - 只是忘了一个小细节 - 代码!

展开 | 选择 | Wrap | 行号


目前只有一个问题 - 是否涉及代码?


:-D
Just one question for the moment - is there code involved?

:-D



目前只有一个问题 - 是否涉及代码?


:-D
Just one question for the moment - is there code involved?

:-D



放轻松。这是来自另一个世界的消息。

只需在设计视图中打开您的表格,并将默认值属性设置为您已告知的字段的任何内容。


给ADezii:那是什么,我也想要同样的东西。

Take it easy. This is a message from another world.
Just open your table in design view and set the Default Value property to nothing for the field(s) you''ve told about.

To ADezii: What''s that was, I want the same for me too.


这篇关于数字字段默认为零的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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