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

 Header information with repeating detail section

Print topic Send  topic

Author Message
MadPhilly

Posts: 19
Posted: 06/11/2008, 12:58 AM

I have a form header that contains a few fields that need to be repeated for every line of detail. For example, one of the forms has 10 lines and we don't want to enter the header info 10 times.

Is there a way we can enter that header once and submit it at the end of the detail filling.

Note: The header info is stored in the same DB as the detail so would need to be submitted for every line.

Thanks in advance

Andy
View profile  Send private message
wkempees


Posts: 1679
Posted: 06/11/2008, 4:14 AM

Andy,
Your post is not entirely clear (to me)
Do you mean to create an includable page and include that in a grid after each line of data?

Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
MadPhilly

Posts: 19
Posted: 06/11/2008, 5:37 AM

Example:

I have a paper based form, at the top are three boxes; Name, Date, Serial Number,

Under these is a table containing 10 lines of data. I need to record all of this data on a form but don't want to have to type out the Name, Date and Serial number 10 times, however it does need to be part of each record when submitted to the database.

Hope this helps
View profile  Send private message
wkempees


Posts: 1679
Posted: 06/11/2008, 5:43 AM

Help, Not really.
To get your metaphores right, have a look at the CCS components Grid and EditableGrid.
What I guess you want is a Editable Grid
A Page containing a recordForm (Name Date Serial) that would act as a filter on a EditableGrid on the same page.
Youw ould enter data in the Record/SearchForm, submit.
That would open up an editable grid with datafields primed by the data entered in the Record/SearchForm.

Sounds any good/close?
HTH

Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
MadPhilly

Posts: 19
Posted: 06/11/2008, 5:48 AM

That does sound close actually, so anything I entered in the editable grid would be preceded by the data in the recordForm when submitted??
View profile  Send private message
wkempees


Posts: 1679
Posted: 06/11/2008, 5:56 AM

It could be made to act that way, yes.
General: An editable grid will show (previously entered) data from a table, offering empty rows to add new rows.
The number of empty rows is 'setable' so in your case it could be 10, or one and autoadd.
Assume each row in that table should have name, date, serialnr, x, y, z.
Your editable grid could be x, y, z, and upon insert/update write name, date, serial, x, y, z.
Without going into details, it could be hidden fields( name, date, serialnr) or you could add them easily in a customInsert, customUpdate.

Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
MadPhilly

Posts: 19
Posted: 06/11/2008, 5:59 AM

Thanks for your help and patience Walter :-)

I'll check out the customInsert and customUpdate
View profile  Send private message
wkempees


Posts: 1679
Posted: 06/11/2008, 6:20 AM

You're welcome.
Please try and delete the doubly posted post in the other forum....
Or, add a link there to this thread.

Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
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.