J
Jon
I have a problem with Revisioning conversions. I wonder if any one has any
ideas on how to do this better. One of the elements in my database is
drawing numbers and their Revision letter. ie drawing GA123 Revision A . the
next drawing would be GA123 B and so on. My problem is when the drawing
rolls all the way to GA123 AA or Even 3 Letters in the revision ie Rev ABZ.
Currently i take the asc value of each letter and add them togeter to get a
number representing the revision. example Rev AB would be 65+66 = 131 so
when i compair drawings to see if a new one exists i can just look at the
number instead of trying to compair the string letters of the revision. the
problem is its breaking now with this asc to number conversion. for example
AY is 65+89=154 and Bk is 66+75=141 Bk is newier but its asc total value is
less than the old AY rev.
thanks
ideas on how to do this better. One of the elements in my database is
drawing numbers and their Revision letter. ie drawing GA123 Revision A . the
next drawing would be GA123 B and so on. My problem is when the drawing
rolls all the way to GA123 AA or Even 3 Letters in the revision ie Rev ABZ.
Currently i take the asc value of each letter and add them togeter to get a
number representing the revision. example Rev AB would be 65+66 = 131 so
when i compair drawings to see if a new one exists i can just look at the
number instead of trying to compair the string letters of the revision. the
problem is its breaking now with this asc to number conversion. for example
AY is 65+89=154 and Bk is 66+75=141 Bk is newier but its asc total value is
less than the old AY rev.
thanks