C
cache rules
Hi All, been all over looking for a solution to take a standard US City
mailing address (if there really is such a thing), split it into
strings, then append them to a table. I've seen some code that looks
like it might work sorta because it uses chr(13) and chr(10) as the
delimiter criteria. I also found a piece that might handle the City,
State, ZIP ok because it is comma delimited. My issue is that I do not
yet have the skills to combine them fearing running two queries may
'mis-align' the data in the table.
Here's what I have. A form with CustomerID and ten text boxes(memo
fields) that will allow up to a four line address block to be pasted
from many places. I have a small office so user intervention is not a
real issue to make sure the address is standardized to the table. I've
also created a legend on the form with an example of a "standard"
address.
After the user enters or pastes the addess(es) they will click a
cmdButton to evoke the queries or function in VBA.
Here's what I need:
txtAddress1
ABC Company
Jane Jones
123 Main Street
Anyplace, NY 10022 ----->Move to appropriate fields in [Address] table.
The purpose is to facilitate 'block' pasting vs. entering as this info
may come form web sites, Word docs, e-mails, ect. and these are
possible addresses that may not become a permanant record. I am also
aware of the potential manual clean-up that may be needed after the
append. No prob. Lastly I need to handle Null's because all boxes might
not have been used. I think a Loop function will also be needed.
Pretty desperate at this point so any help (or hopefully an existing
procedure) would be immensely appreciated.
Thanks in advance!
Victor
mailing address (if there really is such a thing), split it into
strings, then append them to a table. I've seen some code that looks
like it might work sorta because it uses chr(13) and chr(10) as the
delimiter criteria. I also found a piece that might handle the City,
State, ZIP ok because it is comma delimited. My issue is that I do not
yet have the skills to combine them fearing running two queries may
'mis-align' the data in the table.
Here's what I have. A form with CustomerID and ten text boxes(memo
fields) that will allow up to a four line address block to be pasted
from many places. I have a small office so user intervention is not a
real issue to make sure the address is standardized to the table. I've
also created a legend on the form with an example of a "standard"
address.
After the user enters or pastes the addess(es) they will click a
cmdButton to evoke the queries or function in VBA.
Here's what I need:
txtAddress1
ABC Company
Jane Jones
123 Main Street
Anyplace, NY 10022 ----->Move to appropriate fields in [Address] table.
The purpose is to facilitate 'block' pasting vs. entering as this info
may come form web sites, Word docs, e-mails, ect. and these are
possible addresses that may not become a permanant record. I am also
aware of the potential manual clean-up that may be needed after the
append. No prob. Lastly I need to handle Null's because all boxes might
not have been used. I think a Loop function will also be needed.
Pretty desperate at this point so any help (or hopefully an existing
procedure) would be immensely appreciated.
Thanks in advance!
Victor