|
-
Sep 19th, 2000, 04:45 PM
#1
Thread Starter
New Member
I am working to export each record in a access db, excell spreadsheet, csv file or whatever file type that it needs to be in to a file. I want each row to be its own file.
Help me please
below is a module from a macro that I converted.
I have this so far....
---------------------------------------------
Option Compare Database
Function Output1()
On Error GoTo Output1_Err
DoCmd.GoToRecord acTable, "Email", acFirst
' Output
DoCmd.OutputTo acTable, "Email", "MS-DOSText(*.txt)", "c:\test\RecNum.txt", False, ""
DoCmd.GoToRecord acTable, "Email", acNext
Output1_Exit:
Exit Function
Output1_Err:
MsgBox Error$
Resume Output1_Exit
End Function
--------------------------------------------------
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|