CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 NavRecordGrid Example and Search

Print topic Send  topic

Author Message
DataDoIt
Posted: 02/11/2004, 2:14 PM

CCS2; PHP4; MySQL4

I've implemented a navigable record grid, using the example given of
NavRecordGrid. Works great!!

However, I'm coming into the grid from a seperate search grid and page, and
results grid and page. When I come into the grid, it only shows Record 1 of
1. I have to hit "cancel" to get the navigation grid to show all the
records. For custom code, per the example, I have in the grid's Before
Show:

//If adding a new record
if (CCGetFromGet("emp_id", "") == "-1") {
//Show one empty row
$employees->EmptyRows = 1;
//Hide the navigator
$employees->Navigator->Visible = False;
//If modyfing an existing record
} else {
//Show the navigator
$employees->Navigator->Visible = True;
//Hide empty rows (usually used for adding multiple new records)
$employees->EmptyRows = 0;
}

I'm coming into this page and grid from another page and record grid, with
emp_id as the clickable link to get me there. I want to sit on the record
that I clicked, but I want the navigation row to show all records. How can
I do that?

Thanks!

-Mike R.


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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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