Print # Statement

G

Guest

I have a need to create a text file using the print # method. The problem
with this method is that it adds an extra blank line at the end of the file.
Is there a way to stop this from happening? I want a file that has no blank
lines. I think by default, access is throwing in a line feed and carriage
return.

thanks
 
B

Brendan Reynolds

A semi-colon at the end of the statement prevents the Print # statement from
starting a new line ...

'prints the text and starts a new line
Print #Whatever, "one"

'prints the text without starting a new line
Print #Whatever, "two" ;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top