473,385 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Address String Question

Hi,

In my application I need the user to input an address. This application
connects to multiple application via web services. Each application has its
own unique business rules. One of the applications needs the address to be
broken up into peices (Number, Predirection, Street, and Postdirection). I
do not want to break up my address input on the form, I just want one field.
Any ideas how to accomplish this without breaking up the street?

Thanks
Jan 29 '07 #1
3 1818
You could specify to the user to put commas between the parts and split the
string on those. Then try and work out which bits fall where and show the
user the different parts for them to check. This is what outlook does.

--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com
"Levi" wrote:
Hi,

In my application I need the user to input an address. This application
connects to multiple application via web services. Each application has its
own unique business rules. One of the applications needs the address to be
broken up into peices (Number, Predirection, Street, and Postdirection). I
do not want to break up my address input on the form, I just want one field.
Any ideas how to accomplish this without breaking up the street?

Thanks
Jan 29 '07 #2
"I do not want to break up my address input on the form"

lol....well tough. That's the best way.
"Levi" <le**@us.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Hi,

In my application I need the user to input an address. This application
connects to multiple application via web services. Each application has
its own unique business rules. One of the applications needs the address
to be broken up into peices (Number, Predirection, Street, and
Postdirection). I do not want to break up my address input on the form, I
just want one field. Any ideas how to accomplish this without breaking up
the street?

Thanks

Jan 29 '07 #3
On Sun, 28 Jan 2007 21:29:27 -0700, "Levi" <le**@us.comwrote:
>Hi,

In my application I need the user to input an address. This application
connects to multiple application via web services. Each application has its
own unique business rules. One of the applications needs the address to be
broken up into peices (Number, Predirection, Street, and Postdirection). I
do not want to break up my address input on the form, I just want one field.
Any ideas how to accomplish this without breaking up the street?

Thanks
Ciaran has given you what is probably the best way to do what you want. The
alternative would be to split the address on spaces, but I think doing so would
add much complexity to your parsing logic, since addresses are a free flow
entry. I suspect the developers at Microsoft, Google and all the other mapping
applications spent a lot of time figuring that out.
Good luck with your project,

Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com
Jan 29 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: | last post by:
Hi I have a list containing several instance address, for example: I'd like to invoke a method on each of these instance but I don't know : 1. if its possible 2. how to proceed
2
by: bender | last post by:
Hi. Sorry if this is an old question, but.... i have a table that includes an e-mail address in a query, i would like to create two columns with expressions for the hostname and the username....
8
by: Timo | last post by:
I am trying to get address of myStruct to a string array texts. I am using M$ Visual C++ 6.0 (this is not OS specific question, though, this code should also work on 16 bit embedded compiler ;)). ...
6
by: Al | last post by:
Hi I need to get the IP address of a computer on the network that uses dynamic IP addressing. Is there anyway I get the address but providing the name of the computer? Thanks in advance Al
5
by: Kevin Newman | last post by:
Does anyone know of any application (AJAX or other) that will display the appropriate address for for the selected (or detected) country? If not, does anyone know where I can find a list or...
19
by: Manish Tomar | last post by:
Hi All, The following code as per my knowledge should not work: int* some() { int b = 10; return &b; }
0
by: Avi | last post by:
A CreateUserWizard contorl receives new user details, adds the user to the database, tries to send a confirmation mail message and stops with a "System.FormatException: The specified string is not...
4
by: karen.homersham | last post by:
Just working through Apress Pro ASP NET.2.0.E Commerce in C Sharp. I am having problems compiling the following: using System; using System.Collections.Generic; using System.Text; namespace...
2
by: Keith G Hicks | last post by:
I'm using the following code to send out email messages to a list of people in a database. My problem is that if I'm sending to 100 people and the 40th address is bad, it crashes on that one and...
4
by: JvC | last post by:
Does anyone have a good routine for EMail address validation? The one that I use is fairly primitive, and I need to beef it up. I have downloaded several from the web, and they all get screwed up...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.