G
Guest
Hi -
Currently, Users hit a button on a website, initiating a Command Prompt
session with a legacy database that prompts for User name and password before
allowing the User to run a report. We want to automate the transfer of the
report output to Access.
I'm assuming I can use the Shell function to invoke the legacy database, and
pass over control to the User (from within Access). But I am wondering if
there is a way to have the session automatically be saved into a text file
which I can parse later to get the data we need.
My DOS is quite rusty. Isn't there some sort of "pipe" function or
something? I've tried the following but no new file gets saved:
dim varAA as variant
varAA = shell(c:\temp\helloworld.exe > c:\temp\hello.txt, vbNormalFocus)
Here, the simple "helloworld.exe" just sends "hello world" to the
CommandPrompt console. User types "Exit" and is back in Access.
The owners of the legacy database are adamant about not allowing any sort of
ADO or ODBC connections being set up to the database itself.
Many thanks in advance,
Phil Freihofner, Albany CA
Currently, Users hit a button on a website, initiating a Command Prompt
session with a legacy database that prompts for User name and password before
allowing the User to run a report. We want to automate the transfer of the
report output to Access.
I'm assuming I can use the Shell function to invoke the legacy database, and
pass over control to the User (from within Access). But I am wondering if
there is a way to have the session automatically be saved into a text file
which I can parse later to get the data we need.
My DOS is quite rusty. Isn't there some sort of "pipe" function or
something? I've tried the following but no new file gets saved:
dim varAA as variant
varAA = shell(c:\temp\helloworld.exe > c:\temp\hello.txt, vbNormalFocus)
Here, the simple "helloworld.exe" just sends "hello world" to the
CommandPrompt console. User types "Exit" and is back in Access.
The owners of the legacy database are adamant about not allowing any sort of
ADO or ODBC connections being set up to the database itself.
Many thanks in advance,
Phil Freihofner, Albany CA