CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 build listbox at runtime

Print topic Send  topic

Author Message
Peter Lucas
Posted: 10/28/2002, 2:34 AM

Hi All,

I'm an absolute newbie at CodeCharge, or ASP/VB for that matter. After
stumbling on CodeCharge I've actualy managed to produce some working code.
Now I'm stuck at the following problem. Here's what I'm trying to to :

1) A user has a search record & grid
2) After a search, the grid get's updated
3) Now the user selects 'new record'
4) A new record form opens with the values of the search already filled in.
5) If no search is perfomed, the fields should not be prefilled but a
listbox should be shown.

I've got the prefill code worked out :

Dim param_Project_Id
param_Project_Id = CCGetParam("s_project_id", Empty)
If param_Project_Id <> 0 then
Issues.Project_id.Value = CCDLookUp("Project_name", "Projects",
"Project_id=" & CCToSQL( param_Project_id, "Integer"), DBConnection1 )
Else

--> No Value passed, Build listbox here <--

End If

As you can see, I'm stuck at building a listbox. Anybody any idea's ? As I
mentioned before, I'm an absolute newbie, so any clear examples are welcome.

Regards,

Peter Lucas




   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

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.