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 -> General/Other

 Adding Child Record and inserting FK

Print topic Send  topic

Author Message
cclooksgood

Posts: 48
Posted: 07/20/2007, 12:36 PM

I know this has to be easy and for the life of me I cannot find it in the tutorials and examples....I have spent hours on this one.

I have a the following on one page;

Search for Companies
Company Grid (master) that shows retreived records with a link to the same page. When link is clicked the Company Record below the Grid that allows me to add, insert delete shows the right information.

Under the Company Record I have a Communication Grid that has foreign key of CompanyID (many to many) - this table just records all of the communication that has been made with each company.

To this point, every thing works fine. I search for a company on name. Company Grid comes up, I choose the right company by clicking on the company name (link) which then automatically filters the Communication Grid to show only Communciation relative to that Company - Where Clause in Communication Grid. URL __>> Company.id = communication. companyid

PROBLEM: I want to click on a link on the Communication Grid that will bring me to a new page which will allow me to insert a new communciation record and automatically insert the company.id as the value for the communication.companyid....

Very basic, Cannot do it please help
View profile  Send private message
cclooksgood

Posts: 48
Posted: 07/20/2007, 2:13 PM

I did it again. After I typed this up....I remembered seeing something about adding an action on the events tab, before show.....

I retrieved the value of a control and it solved the problem...pretty cool.

n
View profile  Send private message

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.