且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在子窗体Access中绑定组合框

更新时间:2023-12-06 11:06:46

组合在子窗体上的事实与此案件。向导将为您设置一切,但绑定控件的规则是设置控制源。例如,您的子表单包含PlaceID的地方列表,并且您希望使用显示用户在组合中的地名列表的组合进行更新。

The fact that the combo is on a subform is not relevant in this case. The wizard will set everything for you, but the rule for binding a control is to set the Control Source. For example, your subform contains a list of places by PlaceID and you wish to update it using a combo that shows the user a list of place names in a combo.

 Control Source: PlaceID
 Row Source    : SELECT ID, PlaceName FROM Places ORDER BY PlaceName
 Bound Column  : 1
 Column Count  : 2
 Column Widths : 0; 2cm

关系