Switching to new layout to enter a new record

Discussion created by rjalex on May 25, 2017
Latest reply on May 25, 2017 by philmodjunk

Dear friends,

a new baby step in my application needed :-)


I have a Product layout with a pop-up menu field listing all known brands.


If I'm entering a new previously unknown brand I just placed a button to the right of the pop-up field with a NEW label and a script:


New Window [ Style : Document ]

Go to Layout [ "brand" (brand) ]


not beautiful but it works.


Question 1) When the above button is clicked I am brought to the new layout window but have to manually click the ADD RECORD button. Can I automatically start with a new record (and therefore the auto-sequenced pk) and have the cursor already in the BrandName field ?


Question 2) Is there an easy but more beautiful way to accomplish this task ?


Thank you