插入自动编号值 [英] insert autonumber value
本文介绍了插入自动编号值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何插入具有访问数据库的autofield数据类型的字段的值.. ???
我需要一个插入查询... !!!!
示例: -
i有两个提交的表(没有自动编号,名称文本)
现在我想要从使用名称和autonumber获取输入自动完成工作然后将是什么插入查询???
解决方案
让我们说清楚:
A)你想要覆盖使用来自其他地方的值生成的值吗?
抱歉,你不能在访问中这样做:(。
B)你想让数字生成工作吗?
在这种情况下,你只需要完全省略insert语句中的那个字段。
how to insert value of field having autofield data type with access database..???
i need a insert query for this....!!!!
Example:-
i have table having two filed (no autonumber,name text)
now i want to take a input from use of name and autonumber do thier work automaticalyy then what will be the insert query ???
解决方案
Let''s make clear:
A) you want to override the value that would be generated with a value coming from elsewhere?
Sorry, but you can''t do that in access :(.
B) you want to make the number generation to work?
In this case you simply have to omit totally that field from the insert statement.
这篇关于插入自动编号值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文