Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: How to - restrict date range in Date attribute?
Topic Summary: I want to limit what years are accepted for a date.
Created On: 19-May-2006 23:21
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 19-May-2006 23:21
User is offline View Users Profile Print this message


Alan Jones

Posts: 8
Joined: 20-Jun-2005

How can I cause a date attribute to reject dates after a certain time and before a certain time?

Does anyone have any DXL code to do this?

For example, I want a normal data attribute but I don't want dates after 2012 or before 2003.
It could just limit years or give complete dates like 15 June 2012 and 16 June 2003.

Alan
alan.jones@unisys.com

Report this to a Moderator Report this to a Moderator
 21-May-2006 14:39
User is offline View Users Profile Print this message


Pekka Mäkinen

Posts: 276
Joined: 18-Mar-2004

Depending on what you want to do, there might be no need for DXL. Just define a new attribute type (Edit / Types / New) which is based on Date type and give it a minimum value and maximum value. Use this type then as a basis for a new attribute.

-------------------------
Pekka.Makinen@softqa.fi
SoftQA Oy -http://www.softqa.fi/
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.