CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 List Box initial value question

Print topic Send  topic

Author Message
Kingston Blenis
Posted: 08/09/2004, 9:07 AM

I am having trouble figuring out how to have my list box and grid loaded
with the first choice of the list box on the initial page load. See the
following link to better understand what I'm trying to accomplish.
http://support.viningsparks.com/cctest/MultiSelectSearc...electSearch.asp

I have placed the following code in the "employeesSearch Operation Method"
to store the result in a session variable that the grid is filtered on. My
problem is that on the initial page load the value is empty. How can I
force the list box value to the first record in the result set?

'employeesSearch Operation Method @4-2B4C8772
Sub Operation()
Session("sProject") = employeesSearch.s_project.Value
If NOT ( Visible AND FormSubmitted ) Then Exit Sub
End Sub
'End employeesSearch Operation Method

--
---
Kingston Blenis
Vice President
Application Development
Vining Sparks
www.ViningSparks.com


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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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