You can yes.
I would put your code into a macro and call the macro. Note though that if
you schedule this
A. You will need Access on the Server
B. MS does not support calling Access unattended Server side.
I would obviously prefer to redo this in VBScript but if this is a major
undertaking then this is a solution
--
Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org
"LAB" <anonymous (AT) discussions (DOT) microsoft.com> wrote
Quote:
hi,
i have an access project with a rather complex vba code. This code was
used to load input files into the access database. The problem with these
|
files is that they do not have a cr/lf specified, so I had to write code to
parse the entire file and finding specific keywords within the file so I
could load them in a table.
Quote:
Now we need to transfer this access db into SQLServer. I would like to
execute the access module within a DTS package so I do not have to re-write
|
it again.
Quote:
I tried to create a job within SQLserver (2000) with a step executing
access from the comand line. It did not work.
Can I call access from a VBScript?
I would appreciate your responses,
Luisa |