A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

scheduling access



 
 
Thread Tools Display Modes
  #1  
Old May 19th, 2007, 01:29 AM posted to microsoft.public.access
Patti
external usenet poster
 
Posts: 231
Default scheduling access

i have written my vba code, tied code to macros, written my script in notepad
& used ms scheduled tasks to run things.

It works!!!

But (always a but) my accessDB is on a server, while access application,
scheduler and scripts are located on one certain pc so that pc has to always
be on. Is there a way to move all this to the server, so that it is
independent? I'm so confused i don't even know if i am asking the rght
questions. And if this is the right place to ask these questions.

thanks for any & all help.

patti
  #2  
Old May 19th, 2007, 01:35 AM posted to microsoft.public.access
Douglas J. Steele
external usenet poster
 
Posts: 9,313
Default scheduling access

It's possible, although I have heard some reports of problems running Access
on a Windows 2003 server.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"patti" wrote in message
...
i have written my vba code, tied code to macros, written my script in
notepad
& used ms scheduled tasks to run things.

It works!!!

But (always a but) my accessDB is on a server, while access application,
scheduler and scripts are located on one certain pc so that pc has to
always
be on. Is there a way to move all this to the server, so that it is
independent? I'm so confused i don't even know if i am asking the rght
questions. And if this is the right place to ask these questions.

thanks for any & all help.

patti



  #3  
Old May 19th, 2007, 01:40 AM posted to microsoft.public.access
Rick Brandt
external usenet poster
 
Posts: 4,354
Default scheduling access

patti wrote:
i have written my vba code, tied code to macros, written my script in
notepad & used ms scheduled tasks to run things.

It works!!!

But (always a but) my accessDB is on a server, while access
application, scheduler and scripts are located on one certain pc so
that pc has to always be on. Is there a way to move all this to the
server, so that it is independent? I'm so confused i don't even know
if i am asking the rght questions. And if this is the right place to
ask these questions.

thanks for any & all help.

patti


You would have to install Access on the server.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


  #4  
Old May 19th, 2007, 01:51 AM posted to microsoft.public.access
Tom Wickerath
external usenet poster
 
Posts: 3,914
Default scheduling access

Hi Patti,

You might want to look into using this application from FMS:

Total Visual Agent
http://www.fmsinc.com/products/Agent/index.html

It is likely more robust than the code you have written (no offense
intended). It does need to be run from a PC that is always turned on, but it
can run as an NT service, so a user does not need to be logged in. I suppose
it could be installed on your server as well.


Tom Wickerath
Microsoft Access MVP
https://mvp.support.microsoft.com/profile/Tom
http://www.access.qbuilt.com/html/ex...tributors.html
__________________________________________

"patti" wrote:

i have written my vba code, tied code to macros, written my script in notepad
& used ms scheduled tasks to run things.

It works!!!

But (always a but) my accessDB is on a server, while access application,
scheduler and scripts are located on one certain pc so that pc has to always
be on. Is there a way to move all this to the server, so that it is
independent? I'm so confused i don't even know if i am asking the rght
questions. And if this is the right place to ask these questions.

thanks for any & all help.

patti

  #5  
Old May 19th, 2007, 01:54 AM posted to microsoft.public.access
Eric Blitzer
external usenet poster
 
Posts: 209
Default scheduling access

What's wrong with having a dedicated pc to do this task?

"patti" wrote:

i have written my vba code, tied code to macros, written my script in notepad
& used ms scheduled tasks to run things.

It works!!!

But (always a but) my accessDB is on a server, while access application,
scheduler and scripts are located on one certain pc so that pc has to always
be on. Is there a way to move all this to the server, so that it is
independent? I'm so confused i don't even know if i am asking the rght
questions. And if this is the right place to ask these questions.

thanks for any & all help.

patti

  #6  
Old May 19th, 2007, 12:26 PM posted to microsoft.public.access
Patti
external usenet poster
 
Posts: 231
Default scheduling access

Thanks for all the input.

I have learned so much about access from this forum. Wrote my first db when
i volunteered at a hospital this year - one dept that needed help tracking
particulatr patients. 6 employees. Data pretty much self-contained. 10
tables. Queries - select, union, inner & outer joins, tabbed forms, menus...
I love access.

Now i am looking into deploying things in a larger environment. Have some
consulting work with a large firm. AccessDB used by one dept. pulling data
from many platforms. I will automate all the depts access imports, queries,
reports, etc.

I will be talking w/ the head IT guy next week. Hoping to get (& sound) more
knowledgeable about server environment.

Thanks again.

patti
  #7  
Old May 19th, 2007, 08:17 PM posted to microsoft.public.access
David W. Fenton
external usenet poster
 
Posts: 3,373
Default scheduling access

patti wrote in
:

i have written my vba code, tied code to macros, written my script
in notepad & used ms scheduled tasks to run things.

It works!!!

But (always a but) my accessDB is on a server, while access
application, scheduler and scripts are located on one certain pc
so that pc has to always be on. Is there a way to move all this to
the server, so that it is independent? I'm so confused i don't
even know if i am asking the rght questions. And if this is the
right place to ask these questions.


Running things on a server is tricky. When the scheduler launches a
task, the task is assumed to run without a user interface, and that
can cause problems.

You might consider putting your script into a VBScript. VBA code is
very easy to port to VBScript, though you don't have predefined
references, so you have to figure out how to create objects that
your code can use to run the same commands.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
  #8  
Old May 19th, 2007, 08:32 PM posted to microsoft.public.access
Patti
external usenet poster
 
Posts: 231
Default scheduling access

Thank you David-

My code is importing tables, running queries & producing reports - trying to
cut out the user. I am leaning towards the dedicated pc until i get further
insight.

I will research VBScript. Any advice on where to start?

patti

"David W. Fenton" wrote:

patti wrote in
:

i have written my vba code, tied code to macros, written my script
in notepad & used ms scheduled tasks to run things.

It works!!!

But (always a but) my accessDB is on a server, while access
application, scheduler and scripts are located on one certain pc
so that pc has to always be on. Is there a way to move all this to
the server, so that it is independent? I'm so confused i don't
even know if i am asking the rght questions. And if this is the
right place to ask these questions.


Running things on a server is tricky. When the scheduler launches a
task, the task is assumed to run without a user interface, and that
can cause problems.

You might consider putting your script into a VBScript. VBA code is
very easy to port to VBScript, though you don't have predefined
references, so you have to figure out how to create objects that
your code can use to run the same commands.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/

  #9  
Old May 19th, 2007, 09:13 PM posted to microsoft.public.access
Tom Wickerath
external usenet poster
 
Posts: 3,914
Default scheduling access

Hi Patti,

Now i am looking into deploying things in a larger environment.


Perhaps this article will be useful to you:

Implementing a Successful Multiuser Access/JET Application
http://www.access.qbuilt.com/html/mu...lications.html



Tom Wickerath
Microsoft Access MVP
https://mvp.support.microsoft.com/profile/Tom
http://www.access.qbuilt.com/html/ex...tributors.html
__________________________________________

"patti" wrote:

Thanks for all the input.

I have learned so much about access from this forum. Wrote my first db when
i volunteered at a hospital this year - one dept that needed help tracking
particulatr patients. 6 employees. Data pretty much self-contained. 10
tables. Queries - select, union, inner & outer joins, tabbed forms, menus...
I love access.

Now i am looking into deploying things in a larger environment. Have some
consulting work with a large firm. AccessDB used by one dept. pulling data
from many platforms. I will automate all the depts access imports, queries,
reports, etc.

I will be talking w/ the head IT guy next week. Hoping to get (& sound) more
knowledgeable about server environment.

Thanks again.

patti

  #10  
Old May 20th, 2007, 06:13 PM posted to microsoft.public.access
David W. Fenton
external usenet poster
 
Posts: 3,373
Default scheduling access

patti wrote in
:

I will research VBScript. Any advice on where to start?


Try just pasting your code into a VBS file and running it. That
should tell you what doesn't work. At that point you'd then need to
find the ProgIDs of the apps you're automating in order to use
CreateObject. It might be easier to do that in combination with
Access and its references (i.e., use the reference dialog to find
the name of the TLB/DLL/OCX in use, then search for that in the
Registry).

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:34 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.