maxhugen
Posts: 272
|
| Posted: 11/13/2008, 4:06 PM |
|
In a Record page, after the user has Inserted a record, I'm returning the `last_insert_id` as a URL parameter.
This allows me to 'preset' a few controls in a new record from the last entered record, via a database query, in the form's BeforeShow event.
This works OK, except for listboxes. The value is being set, as I can echo the control's new value after setting it, but no 'text' appears in the listbox.
Does anyone have an idea as to why the listbox won't display the text?
MTIA
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com |
 |
 |
maxhugen
Posts: 272
|
| Posted: 11/13/2008, 4:29 PM |
|
Hmmm... a javascript alert I added on window.open to check, shows that in fact both of my two listboxes have not been set!
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com |
 |
 |
maxhugen
Posts: 272
|
| Posted: 11/13/2008, 4:56 PM |
|
Sorry, looks like I might have had an issue with a cached page not reflecting changes or something, suddenly all works OK.
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com |
 |
 |
|