本文介绍了使用组合框进行SUM查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 继承人我所拥有的: 我设置了3个相同的表。唯一的区别是表格有不同的标题,因为它们是不同客户的数据库。 该表格包含以下字段: " RMA#" ;,Quote ID,Credit(USD),Credit(#),Credit(Euros),Credit(CAD)和Credit(YEN) ) 我有一个名为form1的表单,它有: 一个组合框(combo23)设置三个客户表的名称。 我想要什么: 我想知道是否有办法可以从组合框中选择客户表的名称,并使用命令按钮查询以下字段Credit(USD),Credit(#),Credit(Euros), Credit(CAD)和Credit(YEN)。我希望此查询绑定到命令按钮。 这可能吗?Heres what i have: i have 3 tables set up that are identical. The only difference is that the tables have different titles as they are databases for different customers. The table has the following fields:"RMA #", "Quote ID", "Credit(USD)", "Credit(#)", "Credit(Euros)", "Credit(CAD)", and "Credit(YEN)" I have a form called form1 that has: A combo box (combo23) set up with the name of the three customer tables. WHAT I WANT:I was wondering if there was a way to be able to select the name of the customer table from the combo box,and have a command button query sum the following fields "Credit(USD)", "Credit(#)", "Credit(Euros)", "Credit(CAD)", and "Credit(YEN)". I would like this query to be tied to a command button. Is this possible?推荐答案 展开 | 选择 | Wrap | 行号 展开 | 选择 | Wrap | 行号 这篇关于使用组合框进行SUM查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-13 19:36