473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How can I add NEW LINE to a report

Say I have a field called "First Name"
and field "Last Name".
comments.
I want to insert a NEW LINE afer few words.
I wrote a query with a field called "Full Name".
Full Name: [First Name] & [Last Name]
but I want to have a new line between First Name and Last Name.
I tried [First Name] & Chr(13) & [Last Mame]
but did not get new line...
any help would be greatly appreciated.

thanks
galsaba

Nov 13 '05 #1
1 10179
Either Chr(13) & Chr(10) in that order, or the intrinsic constant vbCrLf.
Note that vbCrLf won't work in all cases: for example, you cannot use it in
a query, whereas you can use Chr(13) & Chr(10)

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"galsaba" <ga*****@aol.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Say I have a field called "First Name"
and field "Last Name".
comments.
I want to insert a NEW LINE afer few words.
I wrote a query with a field called "Full Name".
Full Name: [First Name] & [Last Name]
but I want to have a new line between First Name and Last Name.
I tried [First Name] & Chr(13) & [Last Mame]
but did not get new line...
any help would be greatly appreciated.

thanks
galsaba

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Trevor Fairchild | last post by:
Hello, all. I am writing a program that parses an html report (generated by another program). I use the Open "C:\...." for Input As myValue method to open the html, and read through it...
6
by: Darren Dale | last post by:
Is there a module somewhere that intelligently deals with reports to the command line? I would like to report the progress of some pretty lengthy simulations, and currently I have the new reports...
0
by: Bill Short | last post by:
I have a subreport in the detail section of the main report. The subreport is set to CanGrow. I am using the Me.Line method (thanks to Stephen Lebans) to create vertical lines that fill in...
3
by: Chris | last post by:
Hello all. I have a database that I use to send email updates to people. Everything is working fine, but one suggestion I keep getting is to add a link to the automatic emails that will open up the...
5
by: ChadDiesel | last post by:
My basic question is why does my print report button on my subform print a blank report when my cursor is on a blank entry line? Here is a more detailed explanation of my problem. I have a...
4
by: News | last post by:
Hi Everyone, The attached code creates client connections to websphere queue managers and then processes an inquiry against them. The program functions when it gets options from the command...
6
by: ldn95887 | last post by:
I have been using Lebans ReportToPDF code for a couple months without problems. We recently changed the format of the invoice and now the first line of the detail section of my report is missing 2...
1
by: lorirobn | last post by:
Hi, I have a report that has a query as its record source. The query picks up records from a table that meet certain criterion. The report then counts how many records there are for each key...
4
by: ZaphodBBB | last post by:
Hi (to the masters of chaos!!!) I created a report using the wizard. (Access 2003). It has the following sections: Report Header Page Header Company Header Detail Page Footer Report Header.
1
by: replyrpatil | last post by:
What I am trying to do: I need to print a compact access report (font 6 size) created using RTF2 program developed by Stephen Lebans to generate a TIF image of custom size (5.5 in x 2.0 in) ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.