CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Build a grid by Type after Master/detail relationship

Print topic Send  topic

Author Message
pruiz

Posts: 29
Posted: 03/30/2005, 3:24 AM

Mysql
PHP

Main Table: Project
Foreign Key Table: Employees

I have built a couple of Master/detail pages, but now I need to build a new grid by the type of employee. For instance, I click on the project - it takes me to those employees in that project. Within the employee types column, there are temporary emps and full-time. Is there a way to build a grid that displays only those that are temporary employees? I know very well how to write the SQL query, but do not know how to implement it in CodeCharge.

View profile  Send private message
Nicole

Posts: 586
Posted: 03/30/2005, 4:04 AM

Hi,
On the first step you can create standard Grid form using Builder without WHERE clause at all.
In order to display temporary employees only, add new WHERE parameter, set Condition Type to Expression and type in Where condition, e.g.
Emp_type = ‘part_time’
Or
Emp_type = 2
using real field name and values.
To be able to filter grid on selected project, add another WHERE parameter with Condition Type set to Parameter and configure the settings.
The following links could be useful
http://docs.codecharge.com/studio/html/index.html?http:...Source.html?toc
http://docs.codecharge.com/studio/html/index.html?http:...hParam.html?toc

_________________
Regards,
Nicole
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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