How can I go to specified entry from a Windows shell command ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Clément Collin

    How can I go to specified entry from a Windows shell command ?

    I want to link objects from a GIS program with their specific form in
    MS-Access. To do that, I have to find a shell command (like "C:\Program
    Files\Office\Ac cess.exe" -<parameter ie number of the entry>) which make
    Access recognize the number of the entry I want to go. Is it possible, or is
    it too simple ?
    (I want to use such a method cause like you could imagine, I don't have
    sufficient knowledges in programmation to do it in a more complex way.)


  • Trevor Best

    #2
    Re: How can I go to specified entry from a Windows shell command?

    Clément Collin wrote:
    [color=blue]
    > I want to link objects from a GIS program with their specific form in
    > MS-Access. To do that, I have to find a shell command (like "C:\Program
    > Files\Office\Ac cess.exe" -<parameter ie number of the entry>) which make
    > Access recognize the number of the entry I want to go. Is it possible, or is
    > it too simple ?
    > (I want to use such a method cause like you could imagine, I don't have
    > sufficient knowledges in programmation to do it in a more complex way.)[/color]

    You'll need to check this out with the help file on command line
    arguments but I think it's something like
    <path>\msaccess .exe <database.mdb > /cmd <your argument here>

    Assuming you have a startup form or an autoexec macro, then a call to a
    VBA routine can check the "command$" system variable to see what was
    passed, what you do with that value is then up to you.

    Comment

    Working...