View Single Post
  #1  
Old May 20th, 2005, 01:29 PM
JohnLute
external usenet poster
 
Posts: n/a
Default "Convert in Integer" for MA or any guru, please!

I previously posted this but thought it would be better to start a new
thread. I'm trying to get my criteria to ascend straight:

Here are the two tables and pertinent fields I need to report:
tblFinishedGoods
txtProfileID (PK)

tblFGUnitLoadLayerParameters
txtProfileID (PK)
txtLayer (PK)

I use sfrmFGUnitLoadLayerParameters to make entries into
tblFGUnitLoadLayerParameters. cbLayer is a value list:
"All";"Even";"Odd";"1";"2";"3";"4";"5";"6";"7";"8" ;"9";"10";"11";"12";"13";"14";"15";"16";"17";"18"; "19";"20"

I'd like my report of cbLayer to ascend. This creates the problem of "10"
following "1" as well as "20" following "2":
1
10
2
20
3
4
5

How can I set this up so that the numeric sequence is truly ascending:
1
2
3
4
5
10
20

MA replied:

Convert in Integer
CInt(yourfield)

Can someone please expand on this? I've never dealt with this so it's
unclear. Access help states that conversions from text to numeric can be done
BUT ALL values must be numeric. As you can see, I have text and numeric
stored in the field. Is it possible to achieve true ascending criteria?

THANKS!!!

--
www.Marzetti.com