October 5, 200817 yr Newbies I have a "People" table and a related "Status Log Entries" table. On the People table is a button to create a Log Entry record for that person. How do I script it to get the Person's ID# into the Log Entry record without using copy/paste?
October 5, 200817 yr Use a script parameter or a variable. For example: Go to Layout [ Log Entries ] New Record Set Field [ Log Entries::PersonID ; Get (ScriptParameter ] ... The button needs to be defined to pass People::PersonID as the parameter.
February 1, 201114 yr Use a script parameter or a variable. For example: Go to Layout [ Log Entries ] New Record Set Field [ Log Entries::PersonID ; Get (ScriptParameter ] ... The button needs to be defined to pass People::PersonID as the parameter. this works for me except that it appears that all the indexes aren't updated correctly—that is to say none of the portals on the second layout display any information unless I save a compacted copy, then open that copy. Then the portals display just fine....any thoughts? I've also noticed that if I create the records in the second table via a portal, everything is fine too...
February 1, 201114 yr none of the portals on the second layout display any information I don't understand your description.
February 2, 201114 yr I don't understand your description. sorry...no worries though.... I was able to fix it by adding a "refresh window" script step that also cleared cached join info.
Create an account or sign in to comment