CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Hide Report

Print topic Send  topic

Author Message
sthefaine66

Posts: 2
Posted: 12/03/2010, 11:06 AM

How do you hide a report if there is no data. On a grid we use the before show and check if the recordset is EOF but that does not work on a report at least not when I tried it. Any help appreciated.
View profile  Send private message
quasimidi


Posts: 151
Posted: 12/08/2010, 2:12 AM

Hi,

I would use a panel component and then put the report form into the panel component.

Then you can show/hide the report form regarding to your grid.

Something like this (I haven't tested it sy):

  
Function Panel1_BeforeShow(Sender)  
  If YourGrid.Recordset.EOF Then  
     Panel1.Visible = false  
  Else  
     Panel1.Visible = true  
  End if  
End Function  

_________________
RS
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.