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 -> PHP

 [Resolved] Preset Listbox Doesn't Display Text

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
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
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.