samelk
Posts: 35
|
| Posted: 04/21/2008, 6:24 PM |
|
Hello everyone,
I have a record that inserts a row into a table and calls another form that is also based on the same table but different columns. When I submit that record, it goes to the next form and the "Submit button" isn't there. If I refresh the page, it shows up. It seems like it is navigating to the second form but not executing the query until I refresh. Anybody run into something like this?
Thanks,
Sam
|
 |
 |
tonyk
Posts: 163
|
| Posted: 04/24/2008, 4:03 PM |
|
Check what is being passed in the url, you may have incompatible values resulting in an empty result set.
Tony
|
 |
 |
samelk
Posts: 35
|
| Posted: 04/25/2008, 4:45 AM |
|
Tony,
I do an echo on the BeforeShow where I am setting the session variable and it displays correctly (without refreshing) but the value on the form will not until I do a refresh. It seems like it is waiting for a submit to populate. So it does populated correctly on the echo but not on the form(until it refreshes).
The values are definitely compatible.
Let me know if you have any other ideas.
Thanks,
Sam
|
 |
 |
tonyk
Posts: 163
|
| Posted: 04/25/2008, 7:00 AM |
|
Sorry Sam but no great ideas.
You could try a very cut-down prototype new form with just one or two fields and see if that works. It may be a broken form, when that happens the quickest option is build from fresh and cut & paste custom code from the old form, keep checking until the new form errors out.
Tony
|
 |
 |
|