Suntower
Posts: 225
|
Posted: 03/14/2005, 2:54 PM |
|
Hi,
I've created the typical header/detail invoice page. The data displays properly -but- the Submit button -never- does -anything-?
Actually, there are -two- submit buttons: one for the header and one for the detail grid. The header submit is invisible even though I have Allow Updates set. And pressing the submit button the detail grid does zip.
So: what's going on? What's the concept I'm missing?
TIA,
---JC
[SEMI-RANT]
This is the kind of thing that's driving me nuts about CodeCharge. I just don't get -why- certain things happen without reverse engineering. Is there some deep concept I'm missing? I understand now how ASP works but I am having trouble understanding -why- CodeCharge sets FormSubmitted and Visible as it does.[/SEMI-RANT]
_________________
---On a campaign for more examples and better docs! |
|
|
wronco
Posts: 15
|
Posted: 03/14/2005, 3:44 PM |
|
Did you check the HTML view to make sure that the one form isnt nested inside the other one? That has occasionally tripped me up...
Will
_________________
http://www.willronco.com |
|
|
peterr
Posts: 5971
|
Posted: 03/15/2005, 12:50 AM |
|
If the Update/Submit button is not shown then it usually means that the form couldn't find such record, therefore there is nothing to update. The "Add" button should be shown instead, unless you removed it or disabled the Insert functionality.
I don't know why Submit button on your other form doesn't work, but there are probably insufficient details here. For example I don't know if that grid form is used to create or update records, how the datasource looks like, and what are your Where parameters. It may even be the same reason as above - if Where parameters are wrong then the form may not know which records to update and doesn't update any.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
|