Ask your SQL server database administrator to prepare a Stored Procedure for
you one to export the data to your
Access database.
You can use automation to delete the table in Access prior to calling the
(note: server side) Stored Procedure.
Here's some sample/pseudo code of how to run a stored procedure off VBA,
whereby
"adCmd" is a valid/instantiated ADO command object and "cn" a
valid/instantiated connection object.
adCmd.CommandType = adCmdStoredProc
adCmd.CommandText = "myStoredProcedureName"
Set adCmd.ActiveConnection = cn
Refresh adCmd
Krgrds,
Perry
> Hi all,
>
[quoted text clipped - 11 lines]
> Thanks,
> Flemming
Flemming Dahl - 05 Apr 2005 14:25 GMT
Hi Perry
Thank you for your answer. Today I have found a SQL specialist within our
company, and he said that he could help me.
The access database is found on 6000 pc's world wide so speed is a big
issue.
Thanks for you time.
Flemming
Question is now closed.
> Ask your SQL server database administrator to prepare a Stored Procedure for
> you one to export the data to your
[quoted text clipped - 33 lines]
> > Thanks,
> > Flemming