我似乎无法弄清楚这一点 . 我已经用这个数据库做了很多,但现在我不知所措 . 我将在下面发布截图和详细信息,我希望这将是足够的信息 .

这是我的主要表格(仪表板) . 它显示了我的员工收到的电话的状态 . 我需要实现搜索 . 我希望它按客户或部分搜索 .

My Goal is to have someone enter a string in the search field and retrieve matches to display on my details from (that contains a subfrom)

enter image description here

这是详细信息屏幕 . 它显示客户和子表单上的部件 . 由于处理方式,所有客户信息都是未绑定的 . 我有一个客户主表,我的员工可以搜索并添加到呼叫中 . 如果客户不在我的主表中,他可以手动输入一个 . 未绑定的框由CustomerID字段绑定 .

enter image description here

这些是我对数据库的关系

enter image description here

这是与CustomerID匹配以填充未绑定框的函数

enter image description here

这是我的详细表格表

enter image description here

最后我的表格为子表格

enter image description here