Data Quality Tools, Mailing Software, Lists, NCOA, Data Enhancements

 | Shopping Cart Buy | Newsletters | Search

    Products         Solutions       Downloads & Trials       Support          Resources         Lookups       Contact Us  

Logged in as: Guest Search | Active Topics |

Address Object - Question on validating multiple addresses Options · View
Warren+Conditi65900504
Posted: Friday, October 03, 2008 8:32:21 AM
Groups: Member

Posts: 1
I'm returning a dataset with a primary and alt. address. I'm trying to pass the first into the objAdd. then the second, unfortunately, the address returned is still the first one. It appears to be holding onto the first objAdd.Address.

I'm a bit stuck. Any help would be appreciated!

WC
Paul Nelson
Posted: Tuesday, October 14, 2008 11:46:04 AM
Groups: Administration

Posts: 88
Hi WC, the address object can check more than one address at a time but only in certain instances. If you have two address fields, the object will first look at address 1 or your primary address for a match in the USPS/DPV table. If the primary address is correct and no other information is needed such as a suite, it will not look at address 2 and move on to the next record. Now if address 1 is incomplete and needs a suite to verify the address, it will look at address 2 for more info. Finally if address 1 is not a valid address, then the object will look at address 2 and will try to validat it. If you are running a different scenario let me know and I will post a reply asap. Sorry for the delay in response Whistle
Bud
Posted: Thursday, January 08, 2009 11:04:58 AM
Groups: Administration

Posts: 6
Always make sure to call the ClearProperties() Method which will clear out the remnants of the prior address before populating the next address inputs.

Here is a code snippet.

'Clearing Properties from addrObj
addrObj.ClearProperties()

'Loading values from Form into Object.
addrObj.Company = Company.Text
addrObj.Address = Address.Text
addrObj.Address2 = Address2.Text
addrObj.City = City.Text
addrObj.State = State.Text
addrObj.Plus4 = Plus4.Text
addrObj.Zip = Zip.Text

'Verifying address. Note: VerifyAddress() will return TRUE if successful.
addrObj.VerifyAddress()
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by Yet Another Forum.net