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 -> PHP

 Newbie question.

Print topic Send  topic

Author Message
bigtoe

Posts: 115
Posted: 07/03/2004, 4:08 PM

In the mySQL database, I have a table called "items".

I used the CCS application builder to create the 2 default forms:
"items_list.php"
"items_maint.php"

The "items_maint.php" form allows me to add a record (to the
"items" table) when data is entered and the "Add" button
is clicked.

Then the "items_list.php" shows up with the search criteria on
top and a listing of all the records below.

This is all good.

I would like to put one more button at the bottom of the
"items_maint.php" form:

a. Call the button "Report".

b. This button would give a detailed report of the one
record I just added.

c. So it sould take me to a "items_report.php" page.
(A detailed report means that for each field in this
record I see a label and the corresponding data.)

d. So the report page should look very much like
the "items_maint.php" except that all the fields
are read-only because this is a report and not a form.


After reviewing the manuals, I can see that:
This is possible.
I can convert data entry fields to labels so they become
read only, which is what I need for the report.

But I am not sure how to:

1. Make a copy of the "items_maint.php" page and call
it "items_report.php"

2. Make a "Report" button on the "items_maint.php" so that it:
First, adds the new record to the "items" table and
Second, takes me to the "items_report.php" page and show
me the details of this new record


The "items" table is a very simple table so I need some
quick and easy suggestions.

Thank you.
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.

MS Access to Web

Convert MS Access to Web.
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.