Data problem

J

Jason R. Melnyk

I have a vendor masterfile table. It has all the normal
stuff; name, address, city, state, etc.

The problem is the address field. There are two columns
that are address fields and those fields have additional
data besides pure address information. An example is:

Field 1 Field 2
11 Park Ave
Attn: Joe Smith 238 Bay Street
PO Box 1234
C/O Julie Smith 879 Maple Ct

The question is, how can I go about breaking out the pure
address data?

Thanks for any help in advance.
 
V

Van T. Dinh

It may be that the sample data is not random enough but it looks like:

If [Field 2] Is Not Null
Use [Field 2]
Else
Use [Field 1]
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top