Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Pages: [1]   Go Down
Print
Author Topic: inport/export  (Read 1171 times)
0 Members and 1 Guest are viewing this topic.
rkreiss
Member

Posts: 7


View Profile
« on: March 28, 2008, 10:59:15 AM »

Have a routine which is importing a file from g:\old\csv_files.  the file is selected by using chdir to get to the directory and reading in the csv file names.  A listbox lists the file names.  The to process is selected and the file is read.

Each line is processed.  The file is a list of invoices or credits to process.  the record details are looked up and and export of this information is done.

My problem is that although I have used a full path name to where I want the export file, it is created in g:\old\csv_files.

i am using a long variable to hold the full name

efolder=drive{bs{"edi_details.csv"

bs=chr("92") or  \

Why ?

Logged

Richard Kreiss
GCC Consulting
email: rkreiss@gccconsulting.net
kenbrody
Administrator

Posts: 82


View Profile
« Reply #1 on: April 07, 2008, 04:20:49 PM »

What's the actual export line?

Also, there is no need to use backslashes in the filenames, as regular slashes work just fine.
Logged

Kenneth Brody
aka "Mr. filePro"  :-)
Pages: [1]   Go Up
Print
Jump to:  

Valid XHTML 1.0! Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Massive Blue Theme By Cadosoas Valid CSS!