Results 1 to 5 of 5
  1. #1
    Thomasso is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Nov 2016
    Location
    Czech Republic
    Posts
    277

    Dedicated Front End on a Windows Server 2019

    Hi all,



    I'm currently watching an Access course and I got an idea during the lesson about timers. The instructor is using timers for all kinds of automations, like backing up the database and so on. The idea is that there is a dedicated front end with a 1 second timer connected to other controls. It's running on a PC all the time.

    The thing is that I don't want to have a client PC running all the time.

    So the question is - can you run an Access Front End on a Windows Server 2019? It would run all the time, run VBA when necessary and work with data on an SQL server (also on that Windows Server machine).

    Is this possible?

    Thanks.

    BR,
    Tomas

  2. #2
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,158
    Yes.

    Personally, I would use the scheduler to run a Access DB with a command-line switch to run a specific task at a given time, rather than relying on it being open all the time.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    Thomasso is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Nov 2016
    Location
    Czech Republic
    Posts
    277
    Sorry but could you please elaborate on this? This seems interesting. What is the "scheduler" in the context? And how would I go about the "command-line switch"? Are those tools within the Windows Server 2019?

  4. #4
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,158
    Windows server has a task scheduler. You can use it to pretty much schedule any sort of app to run, on any sort of schedule (Daily, hourly, weekly etc. etc.)
    https://techdirectarchive.com/2020/0...s-server-2019/

    Access can be told to run a macro during startup (other than the AutoExec) by way a of a command line switch
    https://www.access-programmers.co.uk...itches.176511/

    Using the /x Macro option you simply create a macro that calls the VBA code you want executed.
    Once that has completed you close access back down again.

    You can create multiple different macro's, each one to do a task or tasks.
    Simply schedule the call to access with the appropriate macro name as part of the command line..
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  5. #5
    Thomasso is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Nov 2016
    Location
    Czech Republic
    Posts
    277
    That's excellent stuff, gave you a star right away. Thanks :-)

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

Similar Threads

  1. Replies: 1
    Last Post: 09-06-2020, 01:52 PM
  2. Using Access as Front End for SQL Server
    By workinstiff in forum Access
    Replies: 4
    Last Post: 07-18-2012, 12:16 PM
  3. Replies: 1
    Last Post: 09-20-2011, 05:57 AM
  4. Replies: 3
    Last Post: 01-15-2011, 11:38 AM
  5. Replies: 3
    Last Post: 07-15-2010, 05:53 PM

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