J
John W. Vinson [MVP]
stname, and even/odd.-----Original Message-----
I have a table with an address formatted as "1234 some street name"
I want to add three colums to the table for stnum,
You can get these with a Query - it probably would not be
either wise or necessary to store these values redundantly
in a table.
Create a Query based on your table; in two vacant Field
cells type
StrNum: Val([address])
and
Parity: Val([address]) MOD 2
The former will be the numeric address (note that
addresses like 1812 1/2 Elm St. and "The Willows" will
have discrepancies); the latter will be 0 for even, 1 for
odd.
If necessary, you can use the same expressions in an
Update query to store the fields permanently (and
redundantly!)
John W. Vinson/MVP