November 2, 200916 yr I have a script where the last step is Go to Field. The field has a scroll bar and contains more info than can be seen without manually scrolling. Is there a way to have to have the script automatically scroll to the bottom of the field? Thanks Edited November 2, 200916 yr by Guest
November 2, 200916 yr No, the scroll prohibits it jumping to the end of the field. If you remove the scroll then it will go to the end of the field and open the extire text. What you CAN do is have best of both worlds. Use scroll on one copy of the field and allow User entry into this field. Make the fill color solid. Stack behind it, another copy of the field without the scroll bar and turn off entry in browse mode. Place a small button next to your stacked fields with words "Show All". User can then scroll manually or click button which will pop open the entire field and place the cursor at the end (remove Select/Perform). But then, if you wish to display all, why use the scroll and not simply allow the User to click into the field? Scroll will stop that from happening. If you had vs. 10, you might use script trigger. Edited November 2, 200916 yr by Guest
November 2, 200916 yr Use the Set Selection script step, specify the field (no need to use the Go to Field step any more) and specify the end position to be the last character using the calculation Length( fieldname ).
November 2, 200916 yr Is there a way... Yes, there is... Instead of using the step: Go To Field [ YourTable::YourField ] use: Set Selection [ YourTable::YourField ; Start Position: Length ( YourTable::YourField ) + 1 ] Scroll Window [ To Selection ]
Create an account or sign in to comment