表格w /子表格更改未选择的数据 [英] Form w/ subform changing unselected data

查看:75
本文介绍了表格w /子表格更改未选择的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个嵌入了子表单的表单。表单和子表单使用名为"GroupID"的属性进行链接。该表单允许用户从列表框中选择GroupID,该组的所有单个记录都显示在子表单中。
由于某种原因,只要在子表单中更新数据,就会更改不同组(而不是显示的组)中记录的GroupID。

I have a form with a subform embedded in it. The form and subform are linked using the attribute called "GroupID". The form allows the user to choose a GroupID from a list box and all the individual records for that group appear in the subform. For some reason, whenever data is updated in the subform, the GroupID for a record in a different group (not the one displayed) is changed.

例如,如果GroupID是A,B,C,D,当选择GroupID A并更新子表单中的数据时,B组中的记录将其GroupID更改为D组。

For example, if the GroupID's are A, B, C, D, when GroupID A is selected and data in the subform is updated, then a record from Group B has its GroupID changed to Group D.

此更改反映在表格和基础表格中。表单和基础表没有为所涉及的属性设置默认值,并且没有针对所涉及的属性编程的事件。 

This change is reflected both in the form and in the underlying table. The form and underlying tables have no default values set for the involved attributes and there are no events programmed for the involved attributes. 

推荐答案

这可能是我们必须看到它在行动中的情况发生了什么。

This may be a case where we'll have to see it in action to figure out what's going on.

只是想一想......

Just a thought...


这篇关于表格w /子表格更改未选择的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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