码迷,mamicode.com
首页 > 其他好文 > 详细

开发报表时需要一个0到23的下拉列表

时间:2014-07-22 00:17:35      阅读:188      评论:0      收藏:0      [点我收藏+]

标签:io   re   c   ar   new   rom   

1.New一个dataset名为Hours

2.

SELECT 0 AS HOUR UNION
SELECT 1 AS HOUR UNION
SELECT 2 AS HOUR UNION
SELECT 3 AS HOUR UNION
SELECT 4 AS HOUR UNION
SELECT 5 AS HOUR UNION
SELECT 6 AS HOUR UNION
SELECT 7 AS HOUR UNION
SELECT 8 AS HOUR UNION
SELECT 9 AS HOUR UNION
SELECT 10 AS HOUR UNION
SELECT 11 AS HOUR UNION
SELECT 12 AS HOUR UNION
SELECT 13 AS HOUR UNION
SELECT 14 AS HOUR UNION
SELECT 15 AS HOUR UNION
SELECT 16 AS HOUR UNION
SELECT 17 AS HOUR UNION
SELECT 18 AS HOUR UNION
SELECT 19 AS HOUR UNION
SELECT 20 AS HOUR UNION
SELECT 21 AS HOUR UNION
SELECT 22 AS HOUR UNION
SELECT 23 AS HOUR

3.选Layout->选Report->选Report Paramenters

available values选From Query,Dataset选Hours

开发报表时需要一个0到23的下拉列表,布布扣,bubuko.com

开发报表时需要一个0到23的下拉列表

标签:io   re   c   ar   new   rom   

原文地址:http://www.cnblogs.com/kangjing/p/3858462.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!