PC Review


Reply
Thread Tools Rate Thread

Concat with Return

 
 
=?Utf-8?B?TmlnZWw=?=
Guest
Posts: n/a
 
      8th Jun 2005
I want to concat 2 Fields together and have a return between them

is field 1 & new line & field2

What is the correct format

Thanks
 
Reply With Quote
 
 
 
 
Duane Hookom
Guest
Posts: n/a
 
      8th Jun 2005
Try:
[FieldA] & Chr(13) & Chr(10) & [FieldB]

--
Duane Hookom
MS Access MVP


"Nigel" <(E-Mail Removed)> wrote in message
news:11D9EB96-3BBC-4029-8C07-(E-Mail Removed)...
>I want to concat 2 Fields together and have a return between them
>
> is field 1 & new line & field2
>
> What is the correct format
>
> Thanks



 
Reply With Quote
 
SusanV
Guest
Posts: n/a
 
      8th Jun 2005
Put & vbCrLf & between the fields you are concatting.

--
hth,
SusanV

"Nigel" <(E-Mail Removed)> wrote in message
news:11D9EB96-3BBC-4029-8C07-(E-Mail Removed)...
>I want to concat 2 Fields together and have a return between them
>
> is field 1 & new line & field2
>
> What is the correct format
>
> Thanks



 
Reply With Quote
 
Duane Hookom
Guest
Posts: n/a
 
      9th Jun 2005
vbCrLf works well in code but not outside of code.

--
Duane Hookom
MS Access MVP


"SusanV" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Put & vbCrLf & between the fields you are concatting.
>
> --
> hth,
> SusanV
>
> "Nigel" <(E-Mail Removed)> wrote in message
> news:11D9EB96-3BBC-4029-8C07-(E-Mail Removed)...
>>I want to concat 2 Fields together and have a return between them
>>
>> is field 1 & new line & field2
>>
>> What is the correct format
>>
>> Thanks

>
>



 
Reply With Quote
 
SusanV
Guest
Posts: n/a
 
      9th Jun 2005
Never occurred to me this was outside code...
Sorry for any confusion!

SusanV

"Duane Hookom" <duanehookom@NO_SPAMhotmail.com> wrote in message
news:OID1$(E-Mail Removed)...
> vbCrLf works well in code but not outside of code.
>
> --
> Duane Hookom
> MS Access MVP
>
>
> "SusanV" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Put & vbCrLf & between the fields you are concatting.
>>
>> --
>> hth,
>> SusanV
>>
>> "Nigel" <(E-Mail Removed)> wrote in message
>> news:11D9EB96-3BBC-4029-8C07-(E-Mail Removed)...
>>>I want to concat 2 Fields together and have a return between them
>>>
>>> is field 1 & new line & field2
>>>
>>> What is the correct format
>>>
>>> Thanks

>>
>>

>
>



 
Reply With Quote
 
Duane Hookom
Guest
Posts: n/a
 
      10th Jun 2005
This is a modules News Group so the question could have involved code. You
never know and when you think you know and make an assumption, you are often
wrong. 'been there many times.

--
Duane Hookom
MS Access MVP


"SusanV" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Never occurred to me this was outside code...
> Sorry for any confusion!
>
> SusanV
>
> "Duane Hookom" <duanehookom@NO_SPAMhotmail.com> wrote in message
> news:OID1$(E-Mail Removed)...
>> vbCrLf works well in code but not outside of code.
>>
>> --
>> Duane Hookom
>> MS Access MVP
>>
>>
>> "SusanV" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Put & vbCrLf & between the fields you are concatting.
>>>
>>> --
>>> hth,
>>> SusanV
>>>
>>> "Nigel" <(E-Mail Removed)> wrote in message
>>> news:11D9EB96-3BBC-4029-8C07-(E-Mail Removed)...
>>>>I want to concat 2 Fields together and have a return between them
>>>>
>>>> is field 1 & new line & field2
>>>>
>>>> What is the correct format
>>>>
>>>> Thanks
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
SusanV
Guest
Posts: n/a
 
      10th Jun 2005
Excellent point!

"Duane Hookom" <duanehookom@NO_SPAMhotmail.com> wrote in message
news:%(E-Mail Removed)...
> This is a modules News Group so the question could have involved code. You
> never know and when you think you know and make an assumption, you are
> often wrong. 'been there many times.
>
> --
> Duane Hookom
> MS Access MVP
>
>
> "SusanV" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Never occurred to me this was outside code...
>> Sorry for any confusion!
>>
>> SusanV
>>
>> "Duane Hookom" <duanehookom@NO_SPAMhotmail.com> wrote in message
>> news:OID1$(E-Mail Removed)...
>>> vbCrLf works well in code but not outside of code.
>>>
>>> --
>>> Duane Hookom
>>> MS Access MVP
>>>
>>>
>>> "SusanV" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> Put & vbCrLf & between the fields you are concatting.
>>>>
>>>> --
>>>> hth,
>>>> SusanV
>>>>
>>>> "Nigel" <(E-Mail Removed)> wrote in message
>>>> news:11D9EB96-3BBC-4029-8C07-(E-Mail Removed)...
>>>>>I want to concat 2 Fields together and have a return between them
>>>>>
>>>>> is field 1 & new line & field2
>>>>>
>>>>> What is the correct format
>>>>>
>>>>> Thanks
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
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
Concat + SQL Bill - ESAI Microsoft Access Forms 2 29th Aug 2008 03:55 PM
CONCAT fingermark@gmail.com Microsoft Access Queries 3 20th Jun 2006 09:18 PM
Concat in asp =?Utf-8?B?RmFybnp5?= Microsoft Frontpage 5 25th Mar 2006 09:14 AM
Concat with a return Nigel Bennett Microsoft Access VBA Modules 4 26th Jan 2005 12:50 AM
Concat is another way Pete Microsoft Excel Worksheet Functions 2 3rd Sep 2004 04:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:22 AM.