CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 One-to-Many

Print topic Send  topic

Author Message
Paul
Posted: 01/25/2002, 2:42 AM

Can anyone see why this won't work?

SELECT number_id, branch_number
FROM branch_numbers, branch
WHERE branch_numbers.branch_id = " & GetParam("branch.branch_id") & "

I want the grid to display in a listbox for each record in grid all the telephone numbers from the branch_numbers table where the branch_id of that number is equal to the branch_id in the grid.

Any ideas?
Nicole
Posted: 01/25/2002, 4:39 AM

Paul,
add one extra to the form, set its type to ListBox, go to its properties and define custom sql like:
select branch_id, branch_number from branch_numbers where branch_id = " & fldbranch_id &"

GetParam() function is used to get the value of parameters passed through URL string.

   


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.