patriciaxxx
Programmer
I have the following code which other experts on the web say works
Dim app As New Access.Application
Set app = CreateObject("Access.application")
app.OpenCurrentDatabase "C:\Documents and Settings\Desktop\New Folder\new.mdb"
app.SaveAsText acForm, "frmCopyMove", "C:\Documents and Settings\Desktop\New Folder\frmCopyMove.txt"
app.Quit
But for me it gives following errors either “cant find the database” or “you cancelled the previous action”
I need to run SaveAsText and LoadFromText from one database and select the target database and folder where text docs are stored.
Dim app As New Access.Application
Set app = CreateObject("Access.application")
app.OpenCurrentDatabase "C:\Documents and Settings\Desktop\New Folder\new.mdb"
app.SaveAsText acForm, "frmCopyMove", "C:\Documents and Settings\Desktop\New Folder\frmCopyMove.txt"
app.Quit
But for me it gives following errors either “cant find the database” or “you cancelled the previous action”
I need to run SaveAsText and LoadFromText from one database and select the target database and folder where text docs are stored.