N
News
Hi,
I have an Access database recently converted to 2003 from 2002. I used the
following command to export a table to Excel from an ASP page:
Set objAccess = Server.CreateObject("Access.Application")
With objAccess
..Visible = False
..OpenCurrentDatabase DatabasePath, False
..DoCmd.SelectObject acTable, Table, True
End With
objAccess.DoCmd.OutputTo acOutputTable, Table, acFormatXLS, szOutputFile,
False
objAccess.Quit
However, with 2003 it does not seem to work. Am I doing something wrong?
Is there a better way?
Chris Dyck
I have an Access database recently converted to 2003 from 2002. I used the
following command to export a table to Excel from an ASP page:
Set objAccess = Server.CreateObject("Access.Application")
With objAccess
..Visible = False
..OpenCurrentDatabase DatabasePath, False
..DoCmd.SelectObject acTable, Table, True
End With
objAccess.DoCmd.OutputTo acOutputTable, Table, acFormatXLS, szOutputFile,
False
objAccess.Quit
However, with 2003 it does not seem to work. Am I doing something wrong?
Is there a better way?
Chris Dyck