>I have a new application that needs to write the information showing in txt boxes on the form to a text file.
>
>example;
>
>txtbox1 shows part "54990"
>txtbox2 shows quantity "22"
>
>each must be printed to a separate line, and the file must be created in a queue subdirectory with a .qlp extension(not a special file type just a name that another program will recognize)
>
>Thanks ahead of time.
>
>Brad.
Also just in case you did not know CHR(13)+CHR(10) added to text sent to the STRTOFILE command will enter a carriage return line feed.
STRTOFILE(txtbox1.Value+ ' ' + txtbox2.Value + CHR(13)+CHR(10),'c:\temp\file.qlp')
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope