CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Editable Grid - "No Records"

Print topic Send  topic

Author Message
Jim
Posted: 05/12/2004, 7:24 AM


Hi,

I have an Editable Grid. I see that it has an area to display when there are "No Records" found, but this doesn't seem to happen.

Basically, when there are no records returned by the query, I want to display that line for the user (and give them a link) - is there a way to do this without adding custom code ?

Thanks,

-Jim
Jim
Posted: 05/12/2004, 7:29 AM

:-O

Let me correct that - if set to 0 empty rows, the text shows up.

What I'm looking for is to have the empty rows set to 1, but still show the "No Records" text show if no actual data is found in the database.

is that possible?
DonB
Posted: 05/12/2004, 1:47 PM

Not without altering the standard code for the grid. The "no records"
template block OR the "rows" block is shown via an if-else in the code.

Butm there's no reason you couldn't put a label in the grid and display your
text message when there are zero records (see the Action for displaying the
total number of records in the grid as your starting point. You could set
the label for that to "text" and in it's Before Show change the zero to "No
Records")

--
DonB

http://www.gotodon.com/ccbth


"Jim" <Jim@forum.codecharge> wrote in message
news:240a234b1e0b2d@news.codecharge.com...
> :-O
>
> Let me correct that - if set to 0 empty rows, the text shows up.
>
> What I'm looking for is to have the empty rows set to 1, but still show
the "No
> Records" text show if no actual data is found in the database.
>
> is that possible?
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


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.