Output table to asp file
Sub OutputToASP() DoCmd.OutputTo acOutputTable, "tblComplaints", acFormatASP, "c:\t.asp" End Sub