Solved

Writing String for EDI

Posted on 2000-04-03
5
307 Views
Last Modified: 2010-05-02
I am having to write a formatted string (pipe delimited text) to a text file for EDI to a Legacy system.  My problem is VB puts my string in quotation marks.  How can I write this string to a text file and not have the quotation marks?
0
Comment
Question by:tchafin
5 Comments
 
LVL 1

Expert Comment

by:riduce
ID: 2681083
how does you're code look like
0
 
LVL 4

Accepted Solution

by:
gcs001 earned 100 total points
ID: 2681092
Use the Print statement instead of Write statement.
0
 
LVL 6

Expert Comment

by:MELeBlanc
ID: 2681096
Exactly how are you writing out this text file?  I don't have this problem when using the Print function.
0
 

Author Comment

by:tchafin
ID: 2681171
This was actually better than a good answer for me. I am a COBOL programmer that was given the task of writing an application that wrote EDI format to a text file in VB.  So thanks for the help.
0
 
LVL 4

Expert Comment

by:gcs001
ID: 2681550
Well good luck in learning VB, tchafin.
I have a few COBOL programmers I'm busy training into VB too.  Always good to learn new skills!

Ciao,
Grant.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question