CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 ListBox value on Page Edit

Print topic Send  topic

Author Message
ekendricks

Posts: 34
Posted: 06/17/2006, 10:47 AM

Using CCS - SQL 2005 - ASP

I have a table with approx 1000 employees. Employees are assigned to a Post ("PostID"). I have a dropbox "Employee" on an entry form, where the contents of the dropbox is filtered by session.variable ("PostID") ie: PostID = 20, and returns a few employees (which is correct) instead of listing 1000 employees. On the same page, I have a function, that pops up a page, where I can find and select an employee that is not in the original list, (PostID = 35), click on that employee, and he is added to the dropbox list. The save operation saves that employee into the database.

All of the above works great as intended. My problem comes in when I need to edit that record. When the form is opened in the edit mode, the employee that was selected, (PostID=35), and recorded earlier, is now being filtered out by the session variable ("PostID"), (PostID=17). My question is: How can I maintain that filter in Edit Mode, and also show the employee previously selected.

Thanks

Ernest

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.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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