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?
|
 |
 |
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!!!!!!!
|
 |
 |
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?
|
 |
 |
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.
|
 |
 |