The sqlserver database belongs to another app - not ours. We are simply providing an interface to the data for viewing purposes.
>Hi Tracy,
>
>Just a thought... something I learned from Tom Rettig (but have not been diligent in applying to my own work). Why not leave the address (at leasy the "street address" part) in a memo field where you are free to format it anyway necessary including adresses worldwide? Then, for filtering and index purposes, add additional fields shuch as state/province, postal code etc.
>
>Your environment may prevent you from doing this and I realize the potential for mismatched memo info versus field info but...
>
>As I said, just a thought.
>
>Ken
>
>
>
>>This must've been done a thousand times already. I have parsed addresses before but I cannot seem to wrap my head around this today. (Friday)
>>
>>Some examples of user typed values:
>>
>>100 N Main St
>>3001 No W Rubick Ave
>>12 Sycamore Dairy Rd NW
>>1312 S Cain St E Suite A10
>>100 N Main St NW Ste 110
>>210 Jones Dr Apt 1E
>>8700 Smith Rd
>>
>>Parse the values typed above into these fields:
>>
>>number c(10)
>>st_prefix c(10)
>>street c(30)
>>st_type c(10)
>>st_suffix c(10)
>>apt_room c(10)
>>
>>
>>Anyone up to the task on a Friday?
>>
>>TIA,
>>Tracy
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"