14ae7 pop open ms access using script or batch file
Sign Up |  Live StatsLive Stats    Articles 37,345| Comments 177,362| Members 19,420, Newest Talia| Online 411
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags
Sikh Philosophy Network » Sikh Philosophy Network » Current News » Information Technology » pop open ms access using script or batch file

pop open ms access using script or batch file

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
cannot open an access 2000 file skibikegolf Information Technology 3 28-Jul-2006 08:17 AM
Starting access in batch file Rdennisc Information Technology 4 28-Jul-2006 08:10 AM
two XP workstations can not open an access data file on a network NCC Information Technology 1 18-Nov-2005 13:59 PM
Re: Open a second instance of MS Access 2000 .adp file from within my .mdb file wb Information Technology 1 27-Oct-2005 08:58 AM
Re: Open a second instance of MS Access 2000 .adp file from within my .mdb file wb Information Technology 0 27-Oct-2005 08:58 AM


Tags
pop, open, access, using, script, batch, file
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:03 AM
gregor suttie's Avatar gregor suttie
Guest
 
Posts: n/a
   
   
pop open ms access using script or batch file

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements


*







Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:03 AM
Douglas J. Steele's Avatar Douglas J. Steele
Guest
 
Posts: n/a
   
   
Re: pop open ms access using script or batch file

See that big white space underneath the subject? That's where you're
supposed to put details of what you're looking for, not strictly write a
cryptic subject!

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


Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/9507-pop-open-ms-access-using-script.html
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9507
"gregor suttie" suttie@discussions.microsoft.com> wrote in message
news:67078C73-1E6F-4CF4-AC59-23680CDECB3E@microsoft.com...
>



Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:03 AM
Albert D.Kallal's Avatar Albert D.Kallal
Guest
 
Posts: n/a
   
   
Re: pop open ms access using script or batch file

  Donate Today!  
Ok...I'll bite...despite a big white empty area!!!


If you just need to start ms-access, or a given "file" of you choice, then a
batch file is fine

start "c:\data\myWordDoc.Doc"

or

start "c:\data\mydata.mdb"

The above command at the windows prompt will thus launch the file of your
choice as if you had clicked on it....

However, if you need more control, or want to run a particular piece of
code, and then shutdown ms-access, then likely a windows script would be a
more appropriate.

Eg:

dim accessApp

msgbox "Click ok to run batch job",64

set accessApp = createObject("Access.Application")
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9507

accessApp.OpenCurrentDataBase("C:\Documents and Settings\Albert\My
Documents\Access\ScriptExample\MultiSelect.mdb")

accessApp.Run "TimeUpDate"

accessApp.Quit

set accessApp = nothing

msgbox "Job complete", 64

The above would launch ms-access, and then run/execute a pub sub called
TimeUpDate in a standard module. The application is then quit.

So, a windows script is somewhat more flexibility, as you don't have to
'quit' the application in code after you run a routine of your choice....

If you just need to launch a particular .doc, pdf, or in your case mdb
file...use the "start" command at the windows prompt, or a .bat file. If you
need the 2nd case where you want to run some code inside of the mdb..and
then quit...use the 2nd windows script example. It is not clear which
scenario you need...but, then again, that comes back to you not using the
big white space to further give details about what you need...(so, I was
either forced to skip your question, or write a *longer* post guessing as to
what/which scenario you are looking for).

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9507
http://www.members.shaw.ca/AlbertKallal


Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Rochester Gurdwara...
Today 10:55 AM
2 Replies, 54 Views
How does Sikhi help you...
Today 10:24 AM
45 Replies, 1,119 Views
Is Science a Religion?
Today 09:53 AM
11 Replies, 1,948 Views
Woolwich Killing: The...
Today 07:49 AM
15 Replies, 178 Views
US Congress panel passes...
Today 04:22 AM
0 Replies, 33 Views
Harmeet Kaur Took the...
Today 03:40 AM
0 Replies, 47 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 01:43 AM
319 Replies, 7,692 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 00:36 AM
182 Replies, 4,601 Views
Panjabi Alphabet Resource
Yesterday 23:15 PM
12 Replies, 6,558 Views
Transgenderism ... Right...
Yesterday 22:55 PM
30 Replies, 1,364 Views
Biography of a Scholar:...
Yesterday 22:53 PM
1 Replies, 66 Views
Dusting The Web
Yesterday 22:25 PM
0 Replies, 40 Views
How Pure the Tongue? New...
Yesterday 21:29 PM
0 Replies, 54 Views
Stockholm riots throw...
Yesterday 21:14 PM
1 Replies, 40 Views
Biography of a Scholar:...
Yesterday 18:59 PM
2 Replies, 169 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 11:26 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.36562 seconds with 32 queries
0