Re: Output to a text file

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



The second argument of the TransferText method is the name of an export
specification that you created and stored in the ACCESS database. This is
done manually by beginning the export process (File | Export), going through
all the screens to set the field specs, field names, etc., then on the last
screen of the wizard click the Advanced button at bottom left of the screen.
There you can save the specifications as an export specification. Then use
the name under which you store them as the export specification argument in
your code.

--

Ken Snell
<MS ACCESS MVP>

"Alec M1BNK" <AlecM1BNK@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D5A9E58D-693E-4BF0-B243-14D81D413C23@xxxxxxxxxxxxxxxx
Hi all (again)

Once again i find myself having to dip into the pot of
wisdom...............

I have a multi user access databse. it's stored on a network server and
people access it by a mapped network drive.

I have a specific need to output the results of a query as a tab delimted
text file. So, I defined a spec, in this case called "samfileout" and
added
this code to an on click event

DoCmd.TransferText acExportDelim, "samfileout", "q_SamUpload",
"samupload.txt", False

When I exported this from my dev copy to the working one on the network it
doesn't work. Users get a runtime error that the filespec "samfileout"
does
not exisit. Where do i find this filespec and how do I export it to other
users?

I've searched the helpfiles and knowledge base but what help there is is
on
Import not export, and does not seem applicable in this case.

Alternatively, is there a better way to this, where everything is
contained
inside the database.


.



Relevant Pages

  • Re: Does Access Support Concurrent Users?
    ... having everyone trying to 'hit' the same file on the network at the ... the data in one Access database, ... Link that second Access database to the tables/data in the one on the ... What happens when all 5 employees are working from the file at once? ...
    (microsoft.public.access.gettingstarted)
  • Re: User Disconnect Issues
    ... Subject: User Disconnect Issues ... the user will be working in VPlus screens and transitioning ... We have performed a variety of network tests and believe the network to be ... To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)
  • Re: User Disconnect Issues
    ... We had a similar issue on our Series A400 and we ended up tracing the whole thing to a single individual that was logging on, entering our menu, running a Speedware application that was resource hungry and then using a "no longer available" option to escape out of that Speedware application and then going into yet another application off a ... The typical behaviors observed is, the user will be working in VPlus screens and transitioning between screen, often to a non-VPlus screen, they will see their screen go blank and after a bit the client will report a disconnect. ... We have performed a variety of network tests and believe the network to be stable and substantially error free. ...
    (comp.sys.hp.mpe)
  • Re: Client Services has disabled welcome screen
    ... i even tried to delete the network connection and i can't even do ... I solved my problem by reinstalling The Client Service for Netware rebooting ... -k netsvcs". ... normal login screens where I can switch users, ...
    (microsoft.public.windowsxp.general)
  • Re: Writing Data to Access Database on Network
    ... I have tested on a network and it works fine, ... I have a Shopping Cart application which uses a Access database. ... If i run the app on a standalone system and using another ...
    (microsoft.public.dotnet.framework)