Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 








Oracle Tips by Burleson Consulting

Focusing The Cursor after a Refresh

While developing in APEX, you may eventually develop a form that is too long to fit on your screen.    If a screen refresh is part of your processing, the screen will display starting at the top again forcing the user to scroll down to his place.   To solve this problem, you can make use of buttons to “anchor” the screen.   This will make the browser scroll down for the user!

Anchor points are used to set points within the web page to refocus to in needed.  When set, they can be called by using specifying the point the URL using the following format:

http://<site>/pls/htmldb/f?p....#<anchor point>

First, you need to set anchor points but specifying address tags in the Region Name or Button name.   For example, for a region named address, we may want to create a tag with the title “ADDRESS”.    


You will need to repeat this for each of the anchor points you wish to define.    You may use these address tag on buttons as well.

Next you need to define a hidden item to hold the name of the anchor address points.  In this case, we are creating a hidden item called P1_BOOKMARK.  

Next Computations will need to be created to set the P1_BOOKMARK.   Here we set the P1_BOOKMARK to be equal to #ADDRESS for the anchor point.

Lastly we need so uses a Javascript in order to have the browser move to the anchor point.   We will set this in the HTML Header for the page.  The Javascript is:

<script type="text/javascript"><!--

   var s="&P200_BOOKMARK.";

   if (s.length!=0){

      window.location = "&P200_BOOKMARK.";




 This is an easy and effective technique to employ in order to save the user from having to keep re-scrolling down the screen.  

APEX support:

For APEX development support just call to gat an Oracle Certified professional for all APEX development projects.

APEX book and code samples:

Easy Oracle HTML-DB Application Express
Create Dynamic HTML with Oracle

Includes online APEX code depot

Buy it now for 30% off - Only $27.95



Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster


Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational