CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 editable grid with default values

Print topic Send  topic

Author Message

Posts: 61
Posted: 03/15/2004, 10:56 AM

I am trying to build an editable grid that include 2 listboxes with default values.

How can I modify the editable grid so that it will enter a new record only if there is more information entered besides the default values.

I tried to put the following code into the before show of the editable grid but it did not work.

global $project_times;

If ($project_times->hours->GetValue()== ""){

I am using php +mysql

View profile  Send private message

Posts: 29
Posted: 03/15/2004, 11:49 AM

On the form fields that you would like used add the required parameter in the properties manager
View profile  Send private message

Posts: 61
Posted: 03/15/2004, 11:55 AM

I just figured it out.

The following solution works if the default values get submitted by url.

Change the editable grid to custom insert type <table>
In the parameter screen change the field type properties to URL on the values you want the default values entered.

This worked for me

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

Web Database

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

Home   |    Search   |    Members   |    Register   |    Login

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