Reply
 
Thread Tools Display Modes
  #1   Report Post  
Ray_Johnson
 
Posts: n/a
Default Hard Return in IF field

I have an IF field and I want the output to include a hard return.

Example 1:

If field ABC = "Apples" then I want it to print

Granny Smith

which would be:

{ IF { ABC } = "Apples" "Granny Smith" }

Easy enough.

Example 2:

But if field DEF = "Ducks" then I want it to print

Ducks
Mallards

How do I get the hard return between "Ducks" and "Mallards"?

  #2   Report Post  
Greg Maxey
 
Posts: n/a
Default

Ray

Put the hard return in your field construction

{IF {DEF} = "Ducks""Ducks*
Mallards"}

*representes a tap on the enter key to insert a paragraph hard return.

--
Greg Maxey/Word MVP
A Peer in Peer to Peer Support

Ray_Johnson wrote:
I have an IF field and I want the output to include a hard return.

Example 1:

If field ABC = "Apples" then I want it to print

Granny Smith

which would be:

{ IF { ABC } = "Apples" "Granny Smith" }

Easy enough.

Example 2:

But if field DEF = "Ducks" then I want it to print

Ducks
Mallards

How do I get the hard return between "Ducks" and "Mallards"?



  #3   Report Post  
Ray_Johnson
 
Posts: n/a
Default

Wow. That was incredibly simple! I can't believe I didn't think of that. I
figured Microsoft would've made it MUCH more difficult than that.

Thanks!
Ray

"Greg Maxey" wrote:

Ray

Put the hard return in your field construction

{IF {DEF} = "Ducks""Ducks*
Mallards"}

*representes a tap on the enter key to insert a paragraph hard return.

--
Greg Maxey/Word MVP
A Peer in Peer to Peer Support

Ray_Johnson wrote:
I have an IF field and I want the output to include a hard return.

Example 1:

If field ABC = "Apples" then I want it to print

Granny Smith

which would be:

{ IF { ABC } = "Apples" "Granny Smith" }

Easy enough.

Example 2:

But if field DEF = "Ducks" then I want it to print

Ducks
Mallards

How do I get the hard return between "Ducks" and "Mallards"?




  #4   Report Post  
Jay Freedman
 
Posts: n/a
Default

LOL! They usually do...

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

On Mon, 3 Jan 2005 16:31:03 -0800, "Ray_Johnson"
wrote:

Wow. That was incredibly simple! I can't believe I didn't think of that. I
figured Microsoft would've made it MUCH more difficult than that.

Thanks!
Ray

"Greg Maxey" wrote:

Ray

Put the hard return in your field construction

{IF {DEF} = "Ducks""Ducks*
Mallards"}

*representes a tap on the enter key to insert a paragraph hard return.

--
Greg Maxey/Word MVP
A Peer in Peer to Peer Support

Ray_Johnson wrote:
I have an IF field and I want the output to include a hard return.

Example 1:

If field ABC = "Apples" then I want it to print

Granny Smith

which would be:

{ IF { ABC } = "Apples" "Granny Smith" }

Easy enough.

Example 2:

But if field DEF = "Ducks" then I want it to print

Ducks
Mallards

How do I get the hard return between "Ducks" and "Mallards"?





Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Desperate Word 2000 Index/SEQ field prob Adrienne Microsoft Word Help 1 December 22nd 04 04:25 PM
How do I use the PRINT field code to ... Dave Microsoft Word Help 3 December 13th 04 03:06 PM
How do I compare dates in a Word IF field? Marion G Microsoft Word Help 0 December 10th 04 01:47 AM
can I insert a graphic in envelope return address? How? AngelinaWhite Microsoft Word Help 1 December 8th 04 09:29 PM
Text Form Field Ref in Footer Won't Update on Screen StarWine Microsoft Word Help 3 December 6th 04 06:17 PM


All times are GMT +1. The time now is 02:38 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"