使用日期范围的交叉表查询 [英] Crosstab Query using date ranges

查看:78
本文介绍了使用日期范围的交叉表查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用交叉表查询(在访问2000中)按日期范围对数据进行分组。

展开 | 选择 | 换行 | 行号

解决方案

我对CrossTabs一点都不好,但是你不能在你的源(或底层)查询中组成一个使用Switch()函数返回分组的字段你想要的:

展开 | 选择 | Wrap | 行号



我对CrossTabs一点都不好,但是你不能在你的领域中占据一席之地源(或底层)查询使用Switch()函数返回所需的分组:

展开 | 选择 | Wrap | 行号


您仍然需要将它正确地合并到CrossTab查询中,但函数调用本身应该在Access 2K中工作,是的。

I am trying to get a crosstab query (in access 2000) to group data by date range.

Expand|Select|Wrap|Line Numbers

解决方案

I''m no good with CrossTabs at all, but couldn''t you make up a field in your source (or underlying) query that uses the Switch() function to return the groupings that you want :

Expand|Select|Wrap|Line Numbers


I''m no good with CrossTabs at all, but couldn''t you make up a field in your source (or underlying) query that uses the Switch() function to return the groupings that you want :

Expand|Select|Wrap|Line Numbers


You still need to incorporate it into your CrossTab query properly, but the function call itself should work in Access 2K, yes.


这篇关于使用日期范围的交叉表查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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