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

 Form with two editable (related) tables

Print topic Send  topic

Author Message
Jos
Posted: 08/17/2005, 7:28 PM

Hi,

I am very new to CC, I've been playin with it and so far I love it.

I am having trouble trying to get a form with two related tables on it for new records.

Basically, I have two tables Person and Addresses. A Person may have Multiple Addresses.

However, when inserting a new record I want to have a form the requests both the person info and address info and then the data gets saved to each corresponding table.

Also, how do I deal with the fact that on saving the data, the person table references the addressID, but until the address record is created (auto-increment field) the addressID is not known.

Any help is much appreciated.


CC
Mysql
PHP

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.