New Tag Identifier

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

New Tag Identifier

Post by Rudi »

Hi,

I add small tips to an ongoing document. I would like to know if a field can be created to add a little "New" tag identifier in front of an entry in the doc if the date is equal to todays date.

Something like: IF([DateField]=[Todays date],"New","")
- DateField is a date at the top of the doc.

Example
New This is a new entry added today
New This is another entry added today
This is an entry added yesterday, so New does not show in the beginning
This is an entry added 4 days ago...new is not visible

Any ideas. TX.
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
StuartR
Administrator
Posts: 12606
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: New Tag Identifier

Post by StuartR »

You need to explain what you are doing more clearly. If DateField is a date at the top of the document then it will either be equal to today or it won't, so all your entries will either be marked New or not.

I suspect you must have an additional date for each entry somewhere.
StuartR


User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: New Tag Identifier

Post by Rudi »

TX for the reply Stuart, but I did not think through my request properly. Based on your reply...this request cannot work as I am not adding a date to each entry.

Just to add worth to this thread, say I did have a date next to each entry, how would the construction of the field look like...just for reference purposes.
TX
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
HansV
Administrator
Posts: 78488
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: New Tag Identifier

Post by HansV »

Let's say you enter a date next to each item and assign it a bookmark Date01, Date02, etc.
You could then create a field for the row with Date01 that looks like this: { IF { Date01 }={ DATE } "New" "" }
And similar for the others.
Best wishes,
Hans

User avatar
StuartR
Administrator
Posts: 12606
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: New Tag Identifier

Post by StuartR »

Rudi, I think it would be MUCH easier to have a nice :new: graphic and to simply copy this to each new line as you enter it, deleting old ones as you go.
StuartR


User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: New Tag Identifier

Post by Rudi »

Thanks Hans and Stuart. Both replies are useful. Cheers
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.