July 30, 201213 yr Hi, I have a script that I'm studying. It involves a drop down field that triggers a script on OnObjectModify, then a condition as a result of the value change. This is currently working intermittently, with the drop down still appearing selected. If I deselect it, by clicking in blanc space somewhere on the layout, the condition completes as desired. It looks to me as if I'm forcing a final update on this extra click. I've tried script steps like Refresh Layout, toggling menus, scrolling but I can't find anything to mimic this step. Any thoughts? Giles
July 30, 201213 yr How about Go To Field[] with no field defined? This works the same as clicking outside a field.
July 30, 201213 yr Clicking outside of any field commits the record (unless you have prevented this in layout setup). The equivalent script step is Commit Records[]. However, committing has consequences that go beyond rolling up a drop-down.
July 30, 201213 yr You can name any object (such as text box, your logo) and then end with GoToObject(). We place an object named 'dummy' on layouts to use. It removes the cursor without committing the record. Actually, I put text object on almost every layout which declares variables ( borrowed from you, Michael). It controls my record indicators and layout name and usually much more. Edited July 30, 201213 yr by LaRetta
Create an account or sign in to comment