PC Review


Reply
Thread Tools Rate Thread

Building long string variables: breaking new lines

 
 
vavroom@gmail.com
Guest
Posts: n/a
 
      16th Feb 2006
Hello,

I hope you can answer this question, which feels like I *should* know
it, but cant' seem to figure it out.

I'm building a form which will send email when you click a button. One
of the issues I have is that I want to pass the body of the email
directly when the user clicks the button, and the content of that mail
is longish.

I found a way to force line breaks in the text, which is fine
Code:
& vbNewLine &
I'm putting the text in a variable, which works ok with short text, but
when the text becomes too long, it doesn't like it.

Any ideas?

(I realise I may not be all that clear, I seem to have a bit of a
brainfart as to how to explain better)

 
Reply With Quote
 
 
 
 
vavroom@gmail.com
Guest
Posts: n/a
 
      16th Feb 2006
Ok, I've solved my own question on this one. Ended up breaking the
text into several parts, each in its own variable, and composing a
variable from those ones... Maybe a tad clumsy, but it works

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Breaking Long Lines in Batch moleskyca1@yahoo.com Microsoft Windows 2000 CMD Promt 2 16th Jul 2007 04:24 PM
Parse a long string into lines? =?Utf-8?B?cXVhcnR6?= Microsoft Excel Programming 1 10th Jan 2005 10:02 PM
Declaring variables (Long, String, Integer) and interpretation spe =?Utf-8?B?TXJU?= Microsoft Excel Programming 4 12th Dec 2004 12:43 PM
Building SQL from variables with quoted string value SME Microsoft Access Form Coding 2 9th Jul 2003 09:29 PM
Re: Building a SQL string from variables Joe Fallon Microsoft Access Form Coding 0 9th Jul 2003 01:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:48 AM.