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

 single submit button for three forms on one page

Print topic Send  topic

Author Message
DeanCovey


Posts: 22
Posted: 08/06/2007, 7:38 PM

I have three forms (2 are grids). I'd like to have one submit button to save all the data to MS-Access. I looked at http://forums.yessoftware.com/posts.php?post_id=45990 But I couldn't make sense of it.

-Should I look at Javascript?
-Can I put all the objects on one form?



View profile  Send private message
marcwolf


Posts: 361
Posted: 08/07/2007, 5:43 AM

Hi There

Sadly each form is treated as an entity in its own right. The submit button can only send form 1, 2, or 3 at one time.

Its not really possible to put all of the grids into one form as each grid needs its own form due to the way the CCS renders the grids.

However a very technical solutions (and not one that can be worked on easily) would be this.

The submit button will got through each grid and serialise the data. then the data can be send usingin HTTPXMLRequest to the server that decrupts the serialisation and updates the underlying tables.

The above would basically ignore and bypass everything that CCS does for you re the form processing.

Hope this helps

Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
View profile  Send private message
DeanCovey


Posts: 22
Posted: 08/07/2007, 3:35 PM

Thanks for the reply Dave. I think you're right.

Just as a thought: Can't all the cells be in the one form as such and all be submitted to the ASP for entry to the database?
View profile  Send private message
DeanCovey


Posts: 22
Posted: 08/07/2007, 3:39 PM

Another though might be to change the record source to include data of the multiple table, then create one form. The challenge here is going to be a one-to-many relationship.

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.