One Line Gap Required In Between 2 Sentences-Letter Writing

Ashfaque

Search Beautiful Girls from your town for night
Local time
Today, 12:58
Joined
Sep 6, 2004
Messages
897
Hi,

I have 3 combo box on form namely CboStartSent, CboMidSent and CboLastSent.

All these combos are a collection of sentences which I am dropping to a big text box named WDetails (Long Text)

So when I select first sentence from first combo which is CboStartSent, the sentence goes to WDetails. And when second sentence selected from next combo which is CboMidSent, the second sentence places after first sentence. BUT I NEED my second selected sentence to place after leaving one line gap of first sentence.

I tried using vbcr in code but not worked.

Dim X, Y As String
X = Nz(Me.WDetails, 0)
Me.WDetails = X & vbCr & Me.CboMidSent.Column(0)

It is still placing one sentence after one. I need one blank line between 2 sentence/context.

Any help shall be appreciated.
 
You will need two to add a blank line.

vbCrLf & vbCrLf

One will simply go to the next line.
Oh, and Dim X, Y as string means Y will be defined as a string and X will be a Variant because you haven't specified a type.
 
Thank you Minty.....

Fantastic.....
 

Users who are viewing this thread

Back
Top Bottom