jrossausiscom
4 years agoQrew Assistant Captain
Shining light on the copyParentChild-Select function
Can anyone shine any light on the copyParentChild-Select function? We have a URL button in a legacy application that I am trying to re-create in a new application. For the life of me I cannot get it to work in the new application even those the structure and usage is the same. (The old one works fine, and has for many many years.)
Specifically, the main part of the code looks like this: (Note that I edited the table codes to table 1, 2, etc, for ease of readability)
------------------------------
John Ross
------------------------------
Specifically, the main part of the code looks like this: (Note that I edited the table codes to table 1, 2, etc, for ease of readability)
"javascript:void(window.open('" & URLRoot() &"db/" & Dbid() & "?a=dbpage&dbid=" & [_DBID_STAGING_TYPE]
& "&pagename=copyParentChild-Select.html&onlyDBIDs=Table1.Table2.Table3&rid=" & URLEncode([Project Staging Type - Record ID#])
&"&dest=refresh&destrid=null&Table1-43=" & URLEncode([Staging ID]) & "&Table2-32=" & URLEncode([Staging ID]) & "&Table3-32=" & URLEncode([Staging ID])
& "&Table1-45=" & URLEncode(Today())
& "&Table1-44=" & URLEncode([Related Job])
& "&Table2-35=" & URLEncode(Today())
& "&Table2-33=" & URLEncode([Related Job])
& "&Table3-34=" & URLEncode(Today())
& "&Table3-32=" & URLEncode([Staging ID])
& "','copyRecursive','top=240,left=320,width=400,height=150,location=no,menubar=no,toolbar=no'))"
Thanks guys and gals
------------------------------
John Ross
------------------------------