Results 1 to 2 of 2

Thread: Automated the command button?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Posts
    269

    Automated the command button?

    Hi,

    I have a button called "Update" in a form, when user clicking on it, it will connected to the back-end mainframe and update some data on the access table.

    Now, I want to take away that button from the user and setup a separate PC to act as press than "update" button every 5 mins.

    What I have to change the code inside that "update" button to ask it run every 5 mins by itself.

    Thanks!

  2. #2
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: Automated the command button?

    Move the code to a timer... since the timer can't do 5 mins duration on its interval property you will have to maintain another variable to keep track of minutes... just Mod the variable by 5, if remainder zero then do rest of code.

Posting Permissions

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



Click Here to Expand Forum to Full Width