dbTalk Databases Forums  

vbScript

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss vbScript in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Steve
 
Posts: n/a

Default vbScript - 08-19-2004 , 03:35 PM






Hi All,


I have a 3rd party app that will take a single address and
parse it and starndardize it for me so that I can store
the parts of the address in my table. Table DDL below.

When we insert a row into this table through the app (one
at a time entry/update), it's handled through a dll on the
3rd party.

Now I have a table of address that I have to push through
this app. I can create the ActiveX script to get the data
and loop through them one at a time, but I don't know how
to use this dll that I have.

I have run these through the dll and take the output and
insert into my table.

that make any sense?





Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: vbScript - 08-19-2004 , 03:48 PM






When you say it parses the address for you???

Do you mean that you get an address in Comma delimited and it SPLIT() on the
comma or does it do some funky stuff.

Does the dll have an associated object model you could use.?

If it does then you could register the dll and then use CREATEOBJECT() in an
ActiveX task and send the data to it using that.

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"Steve" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi All,


I have a 3rd party app that will take a single address and
parse it and starndardize it for me so that I can store
the parts of the address in my table. Table DDL below.

When we insert a row into this table through the app (one
at a time entry/update), it's handled through a dll on the
3rd party.

Now I have a table of address that I have to push through
this app. I can create the ActiveX script to get the data
and loop through them one at a time, but I don't know how
to use this dll that I have.

I have run these through the dll and take the output and
insert into my table.

that make any sense?







Reply With Quote
  #3  
Old   
Steve
 
Posts: n/a

Default Re: vbScript - 08-19-2004 , 03:56 PM



Thanks for the quick replay Allan.

It will take an address that looks like this:

123 W. Sunshine Ave

and put in in my table as this:
HouseNumber StreetPrfix StreetName StreetSuffix
123 W Sunshine Ave

note this is a simple example. The parser is capable of
doing very complicated address with suite numbers,
apartment number and so on. I have more columns in the
table to handle that.

I have ~6500 address that need to be converted.

I registered the dll on my server.

I don't know if the dll has an associated object model?


Quote:
-----Original Message-----
When you say it parses the address for you???

Do you mean that you get an address in Comma delimited
and it SPLIT() on the
comma or does it do some funky stuff.

Does the dll have an associated object model you could
use.?

If it does then you could register the dll and then use
CREATEOBJECT() in an
ActiveX task and send the data to it using that.

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"Steve" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:955e01c4862c$15ca9ee0$a401280a (AT) phx (DOT) gbl...
Hi All,


I have a 3rd party app that will take a single address
and
parse it and starndardize it for me so that I can store
the parts of the address in my table. Table DDL below.

When we insert a row into this table through the app
(one
at a time entry/update), it's handled through a dll on
the
3rd party.

Now I have a table of address that I have to push
through
this app. I can create the ActiveX script to get the
data
and loop through them one at a time, but I don't know
how
to use this dll that I have.

I have run these through the dll and take the output and
insert into my table.

that make any sense?






.


Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: vbScript - 08-20-2004 , 12:16 AM



Ok

You may be able to mimic what the parser does in VBScript but if you do not
want to reinvent the wheel I woould ask the 3rd party for an API to their
dll and do it that way.


--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"Steve" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Thanks for the quick replay Allan.

It will take an address that looks like this:

123 W. Sunshine Ave

and put in in my table as this:
HouseNumber StreetPrfix StreetName StreetSuffix
123 W Sunshine Ave

note this is a simple example. The parser is capable of
doing very complicated address with suite numbers,
apartment number and so on. I have more columns in the
table to handle that.

I have ~6500 address that need to be converted.

I registered the dll on my server.

I don't know if the dll has an associated object model?


-----Original Message-----
When you say it parses the address for you???

Do you mean that you get an address in Comma delimited
and it SPLIT() on the
comma or does it do some funky stuff.

Does the dll have an associated object model you could
use.?

If it does then you could register the dll and then use
CREATEOBJECT() in an
ActiveX task and send the data to it using that.

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"Steve" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:955e01c4862c$15ca9ee0$a401280a (AT) phx (DOT) gbl...
Hi All,


I have a 3rd party app that will take a single address
and
parse it and starndardize it for me so that I can store
the parts of the address in my table. Table DDL below.

When we insert a row into this table through the app
(one
at a time entry/update), it's handled through a dll on
the
3rd party.

Now I have a table of address that I have to push
through
this app. I can create the ActiveX script to get the
data
and loop through them one at a time, but I don't know
how
to use this dll that I have.

I have run these through the dll and take the output and
insert into my table.

that make any sense?






.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.