Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data type for version-like number formating.. 1

Status
Not open for further replies.

jong794613

Programmer
Feb 8, 2010
2
PY
Hello,
What kind of data type should I use in case of this:

1.01.00
1.01.01
1.01.02
1.02.00

I know that a text field can be an option but it has to be numeric(?) in order to query something like this:

The parent data of 1.01.02 has to be 1.01.00

Thanks in advance..
 
humm.. I thought that.. but there has to be another way..
 
Then save the version w/o points:
[tt]
1.01.00 -> 10100
1.01.01 -> 10101
1.01.02 -> 10102
1.02.00 -> 10200
[/tt]

Adding missing points in appropriate places are your FrontEnd job :)

Borislav Borissov
VFP9 SP2, SQL Server 2000/2005.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top