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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting content of TXT fiel into Memo field 1

Status
Not open for further replies.

foxrainer

Programmer
Jan 10, 2002
270
US
I know this must be simeple, but I can't get it to work:

I have a file (ROS.txt) with general text type info

When inserting a record into one of my tables (using INSERT INTO SQL), I would also like to have the content of ROS.txt inserted into a memof field called ROS. What is the simplest way?

Thank you in advance

Rainer
 
Jim,

thank you tons! I didn't know this function exists,

Rainer
 
Another function that is handy in this instance is ALINES().

It brings the data into an array. Sometimes this is better because you can parse out unwanted text prior to writing it the memo field.

Jim Osieczonek
Delta Business Group, LLC
 
Jim,

good advice as well - I actually have another use for ALINES() now that I looked it up!

Thank you

Rainer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top