ACCESS 运行时错误'35602':"key is not unique in collection"
答案:2 悬赏:20 手机版
解决时间 2021-02-11 14:48
- 提问者网友:疯子也有疯子的情调
- 2021-02-10 17:50
原来运行的好好的现在突然出现这种错误代码:Private Sub Form_Load()Dim Nodeindex As Node Set Nodeindex = TreeView.Nodes.Add(, , "爷", "水果", "K1") Nodeindex.Sorted = TrueSet Nodeindex = TreeView.Nodes.Add("爷", tvwChild, "父1", "苹果", "K1") Nodeindex.Sorted = True Set Nodeindex = TreeView.Nodes.Add("爷", tvwChild, "父2", "葡萄", "K1") Nodeindex.Sorted = TrueSet Nodeindex = TreeView.Nodes.Add("父1", tvwChild, "子1", "红富士", "K1") Nodeindex.Sorted = True Set Nodeindex = TreeView.Nodes.Add("父1", tvwChild, "子2", "国光", "K1") Nodeindex.Sorted = True Set Nodeindex = TreeView.Nodes.Add("父2", tvwChild, "子3", "红提子", "K1") Nodeindex.Sorted = True Set Nodeindex = TreeView.Nodes.Add("父2", tvwChild, "子4", "青提子", "K1") Nodeindex.Sorted = True
最佳答案
- 五星知识达人网友:骨子里都是戏
- 2021-02-10 18:29
如何运行?
全部回答
- 1楼网友:逃夭
- 2021-02-10 20:04
主码重复了。
没猜错的话主码应该是k1这列,全部都一样了。
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯