Conditional ListNum

G

Garth Wells

Originally posted this in the numbering newsgroup, but no responses
so I'm going to give this NG a shot.
--


I'm trying to use If statements to do conditional numbering, but
have not had any luck so far. This is what I'm trying:

{ If BkMrk1=True "Recommendation1 {ListNum}" "" }
{ If BkMrk2=True "Recommendation2 {ListNum}" "" }
{ If BkMrk3=True "Recommendation3 {ListNum}" "" }
{ If BkMrk4=True "Recommendation4 {ListNum}" "" }

So, if BkMrk1 and BkMrk4 are True, I want:

Recommendation1 1.01
Recommendation4 2.01

I'm only getting the text, with no numbers.

Recommendation1
Recommendation4


Thanks for any suggestions.
 
W

Word Heretic

G'day "Garth Wells" <[email protected]>,

Are you using {Listnum "SomeListName"}?


Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Garth Wells reckoned:
 
J

Jean-Guy Marcil

Bonjour,

Dans son message, < Garth Wells > écrivait :
In this message, < Garth Wells > wrote:

|| Originally posted this in the numbering newsgroup, but no responses
|| so I'm going to give this NG a shot.
|| --
||
||
|| I'm trying to use If statements to do conditional numbering, but
|| have not had any luck so far. This is what I'm trying:
||
|| { If BkMrk1=True "Recommendation1 {ListNum}" "" }
|| { If BkMrk2=True "Recommendation2 {ListNum}" "" }
|| { If BkMrk3=True "Recommendation3 {ListNum}" "" }
|| { If BkMrk4=True "Recommendation4 {ListNum}" "" }
||
|| So, if BkMrk1 and BkMrk4 are True, I want:
||
|| Recommendation1 1.01
|| Recommendation4 2.01
||
|| I'm only getting the text, with no numbers.
||
|| Recommendation1
|| Recommendation4
||
||

I do not think you can embedd LISTNUM fields (They do not even work in QUOTE
fields).

Try SEQ fields instead.

Also, What is "BkMrk1"...

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
G

Garth Wells

I tried that and it did not help.


Word Heretic said:
G'day "Garth Wells" <[email protected]>,

Are you using {Listnum "SomeListName"}?


Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Garth Wells reckoned:
 
G

Garth Wells

BkMrk stands for bookmark...the appearance of the Recommendations
depends on the value of the associated bookmark.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top