Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2004
    Posts
    9

    Unanswered: Auto Refreshing a form

    I have a form that is used just to displays to the dorm administrator how a dorm is filling up when housing is being assigned at a University. The form displays the total number of beds available in each dorm, the total number of beds assigned in each dorm and the number of beds assigned on each floor of each dorm. All of this is laid out in a grid pattern.

    The code for the display of the information is in the “On Current” control and displays current information when the form is opened. There is a “Refresh” button on the form to refresh the data, but I would like to make it a little more dynamic. Is there a way I can leave the form open and have it automatically refresh at a set time interval? (Say, every 5 minutes)

  2. #2
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1
    Use the Form_Timer()

    Set the TimerInterval to 60000 * 5
    Put your code to refresh the form in that event

    60000 for one minute

  3. #3
    Join Date
    Jun 2004
    Posts
    9
    Thanks, that did it!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •