Use this function to return the Y coordinate of a variable field object.
FieldY (Field, Section, Form, Group)
| 
                         Parameter  | 
                    
                         Description  | 
                
| 
                         Field  | 
                    
                         Enter the name of a field. The default is the current field.  | 
                
| 
                         Section  | 
                    
                         Enter the name of the section that contains the field you specified. The default is the current section.  | 
                
| 
                         Form  | 
                    
                         Enter the name of the form that contains the section and/or field you specified. The default is the current form.  | 
                
| 
                         Group  | 
                    
                         Enter the name of the form group that contains the form, section, and/or field you specified. The default is the current group.  | 
                
You can use this function and the FieldX function to get the X and Y coordinates of a field object. Coordinates are stored in FAP units — 2400 units per inch. This means that an object located at (2400, 2400) occurs one inch from the top and one inch from the left.
Here are some examples:
(Assume the field named MyField is located at Y coordinate 6020.)
| 
                         Function  | 
                    
                         Result  | 
                    
                         Explanation  | 
                
| 
                         Return(FieldY( ))  | 
                    
                         6020  | 
                    
                         Return the current field’s Y coordinate.  | 
                
| 
                         Return(FieldY ("MyField"))  | 
                    
                         6020  | 
                    
                         Returns the field’s Y coordinate if located on the current section.  | 
                
| 
                         Return(FieldY("MyField", , "FRM"))  | 
                    
                         6020  | 
                    
                         Returns the first occurrence of MyField on the specified form.  | 
                
© Copyright 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices