Results 1 to 4 of 4
  1. #1
    Whizbang is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    37

    Get position of record in continuous form

    I have a continuous form that displays various data. I have a button on the form that opens a popup form, displaying content relevant to the current record in the continuous form. I would like this popup form to appear directly below the current record in the continuous form, if possible. I tried to use .Top property of any of the controls in the continuous form, but the .Top property is 0.

    How can I get the screen position of a control for the current record in a continuous form?

  2. #2
    Whizbang is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    37
    I managed to get it close with the following
    Code:
    Me.FormHeader.Height + (Me.Detail.Height * Me.CurrentRecord)

  3. #3
    Whizbang is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    37
    But, this stops working once the continuous form is scrolled down. The popup form quickly goes off screen.

  4. #4
    Join Date
    Nov 2011
    Location
    Hamilton, NZ
    Posts
    18
    try me.move

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Scroll bar position in main form
    By VictoriaAlbert in forum Forms
    Replies: 1
    Last Post: 10-25-2011, 04:24 PM
  2. Position text boxes on form
    By Mclaren in forum Forms
    Replies: 4
    Last Post: 05-10-2011, 12:24 PM
  3. Set Form Position
    By Yance in forum Programming
    Replies: 3
    Last Post: 11-29-2010, 02:20 PM
  4. Suppress new record on continuous forms
    By ajetrumpet in forum Forms
    Replies: 0
    Last Post: 09-07-2010, 09:30 PM
  5. Replies: 7
    Last Post: 04-27-2010, 10:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums