954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Need help

I have a text file setup called client.txt
inside it has

Halusa Decorations|Streamers|455892|$3.50
Kellys Floral|Frangipani|270272|$2.00

-

Im using Listview in Report mode i was wondering how to grab each item e.g company|item|productid|cost into and put them into the Columnheaders
| Company Name | Product | Product ID | Price |
Halusa Decorat.. | Stream..| 455892.....| $3.50|

Using the Open, Write Functions

Any help would be great :)

ReeciePoo
Light Poster
45 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
 

hey.. good afternoon..
i think you just need to read the textfile line per line then for you to get the line you want then use the SPLIT function in vb make the delimiter"|" so it will split the string into array of string..

i hope i help in any ways..

vbCNEW
Light Poster
44 posts since Apr 2007
Reputation Points: 10
Solved Threads: 3
 
hey.. good afternoon.. i think you just need to read the textfile line per line then for you to get the line you want then use the SPLIT function in vb make the delimiter"|" so it will split the string into array of string.. i hope i help in any ways..



Thank you, you solved my problem

ReeciePoo
Light Poster
45 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You