Matt Pinkston
asked on
SP2010 Parent Child Relationship
I am having a problem getting the final piece of my parent child relationship working in my 2010 custom list.
Using Parameters I have gotten the main page to connect to a secondary page but on the secondary page I have a link to an NewForm.aspx which is passed two fields:
mID
Gate
My issue is when I add the record those fields are not filled... where am I going wrong?
NewForm_Custom.aspx?mID={$ Param1}&am p;Gate=USP S Revisions
Field mID in the table is a lookup to the parent table
Field Gate is a simple choice field
Using Parameters I have gotten the main page to connect to a secondary page but on the secondary page I have a link to an NewForm.aspx which is passed two fields:
mID
Gate
My issue is when I add the record those fields are not filled... where am I going wrong?
NewForm_Custom.aspx?mID={$
Field mID in the table is a lookup to the parent table
Field Gate is a simple choice field
ASKER
This tutorial is great only issue is I get to Video 5 – Automatically Setting Parent ID field in Child List from Query String Variable
And the part where it says to right click on the variable to change it to a text box and then alter in text= in the code, when I right click it only gives me the option to change it to text not text box....
And the part where it says to right click on the variable to change it to a text box and then alter in text= in the code, when I right click it only gives me the option to change it to text not text box....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
There are several steps involved in the receiving form, including replacing the default form, replacing the default controls with text boxes and using JavaScript to move the url parameter to the text box.