Access 2003:联合查询问题 [英] Access 2003: Union Query Problem

查看:79
本文介绍了Access 2003:联合查询问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是创建联合查询的新手。我了解目的,但不了解如何为我的目的正确实施它。到目前为止,我已经创建了完美的交叉表查询。一个显示订购日期的输入,另一个显示已完成日期的输出。


我试图将这两个图表合并为一个图表。我到目前为止的代码只显示一个日期。我希望有2个(如果你把它分成两种材料类型,那就是4个)线图。


这是迄今为止的代码。


输入:

I''m very new to creating union queries. I understand the purpose but not how to properly implement it for my purpose. So far I''ve created to perfectly fine crosstab queries. One shows input on a date ordered, the other shows the out put on a date completed.

I am trying to combine these two charts into one chart. The code I''ve got so far will only show one date. I am looking to have 2 (4 if you count the break down into the two material types) line graphs.

Here is the code for this so far.

Input:

展开 | 选择 | Wrap | 行号

推荐答案

  1. 将输入和输出交叉表查询转换为生成表查询。
  2. 基于这两个表创建一个UNION查询。


我试过了,它仍然只返回DateOrdered和qtyOrdered的总和。我仍然缺少DateCompleted和QtyCompleted

I tried that and it still only returns the DateOrdered and the sum of qtyOrdered. I am still missing the DateCompleted and the QtyCompleted

展开 | 选择 | Wrap | 行号


仍然需要帮助解决方案


这篇关于Access 2003:联合查询问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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