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

 field dependant on List Box

Print topic Send  topic

Author Message
mavtech

Posts: 133
Posted: 11/29/2004, 12:18 PM

I am building a record builder grid.

I have it setup to have two separate connections.

It is adding records to a table called attend.
I pick a name from a drop-down list from another connection that connect to a table called contacts.

I can add this record but I also would like to get the field contact_id from contacts table but how do I do it as it is based on the drop down selection.

Paul
View profile  Send private message
Damian Hupfeld
Posted: 11/29/2004, 8:58 PM

You use the BOUND column to point to contact_id and the TEXT column points
to the contact_name field.

regards
Damian Hupfeld
http://www.nexthost.com.au/services.php
mavtech

Posts: 133
Posted: 12/01/2004, 8:06 AM

When I submit or add this to the database I need the Contact Name and the contactID into the table from the dropdown I only get the bound column.

Paul
View profile  Send private message
Don Safar
Posted: 12/01/2004, 2:32 PM

The bound column is all that is submitted with the form. You will need to
use dlookup to retrieve the contact name matching the contactID.

"mavtech" <mavtech@forum.codecharge> wrote in message
news:541adebee58857@news.codecharge.com...
> When I submit or add this to the database I need the Contact Name and the
> contactID into the table from the dropdown I only get the bound column.
>
> Paul
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

mavtech

Posts: 133
Posted: 12/02/2004, 6:02 AM

I have been trying this but I can't seem to get the right where condition.

Paul
View profile  Send private message
Don Safar
Posted: 12/02/2004, 10:40 AM

Post your code here so we can look and help you determine what the problem
is.

"mavtech" <mavtech@forum.codecharge> wrote in message
news:541af208e0a5f3@news.codecharge.com...
>I have been trying this but I can't seem to get the right where condition.
>
> Paul
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.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.

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.