Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding more than one field in the routine shown

Status
Not open for further replies.

toolsofministry

Programmer
Sep 11, 2002
24
US
I have five fields that I want to use in this routine. What do I need to place them in text1, text2, ETC.


ReadTextFile = "A:\01.txt"
Open ReadTextFile For Input As #1
Input #1, TextFile
DoEvents
Text1.Text = TextFile
Close #1

Thanks,
Gerald Robinson
 
You could try setting up a Struct or you could use left$, mid$ and right$ to break up the string.
 
jacksoffice - I see from your profile that you've asked quite a few questions and have yet to indicate that you've found a helpful response. I also see that you have not taken the time to participate in a question asked by someone else.

Tek-Tips is forum by and between professionals who freely give their time to help others in the profession. It is based on a give a take relationship, and everyone, like yourself, is a volunteer. I invite you to become more involved, show some appreciation to those have given of their time to provide you help, and hope that you can find some time to return the favor by providing help to someone else.

What Tek-Tips is not is a free tech support site, a code swap shop, or a place where you can come in hope that you can get someone to do your work for you. Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top