如何将窗体形成为水晶报告的大小 [英] How can I grow windows form to size of crystal report

查看:39
本文介绍了如何将窗体形成为水晶报告的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2005 VB。

I am using Visual Studio 2005 VB.

我有一个非常简单的程序,它调用来自SQL数据库的注释报告。

I have a very simple program that calls a report of comments from a SQL database.

根据选择的不同,我希望Windows窗体更改大小以查看所有可用的数据。因此,如果我在报告中只有三行,那么窗口将适合这三行,但如果有20行,则表格将更长,以查看所有20行。我不希望使用默认大小,它应根据返回的记录数进行更改。我想如果记录有多个页面,它只会使窗口最大化并显示记录。

Depending on the selection I want the windows form to change size to view all the data that is available. So if I only had three lines on the report the window would fit to those three lines but if there where 20 lines the form would be longer to view all 20 lines. I don't want a default size to be used it should change based upon how many records are returned. And I would imagine that if the records had multiple pages it would just maxamise the window and show the records.

我充其量只是一个新手程序员。所以请放心。

I am a novice programmer at best. So please take heart.

感谢您的帮助。 

Thanks for all your help. 

 

推荐答案

这里有人有任何想法吗?我在错误的区域发帖吗?谢谢你的帮助!
Anyone here have any idea? Am I posting in the wrong area? Thanks for all your help!


这篇关于如何将窗体形成为水晶报告的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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