The process involved is someting like this
Link to the ActiveX FindIT component, in the example below I am assuming it has a logal object objFindIT
Initialise the FindIT object
This tells the FindIT object where to locate the .DAT file that ships with the FindIT system and contains data including lists of common names, towns and other such data
objFindIT.Initialise(foldername,"") :where foldername is the location of the FindIT.DAT file supplied with the system
Set to Record 1
as we are not running in batch mode at this stage we will only ever make a call to deal with a single record.
objFindIT.CurrentRecord := 1;
Populate the input fields with data from the inbound schema
objFindIT.Addressee :=
objFindIT.Address1 :=
objFindIT.Address2 :=
etc - max = Add9 - the Town, County, Postcode etc will be somewhere in the address lines but not in known fields. This is what FindIT is good at!
Call the generate method to populate the output fields in the object
objFindIT.Generate();
Retrieving the generated fields and return them to the orchestration.
strSalutation := objFindIT.Salutation;
strContact := objFindIT.Contact;
strPostcode := objFindIT.Postcode;
etc
The following is the list of fields available to read back
|
Name |
Comments |
|---|---|
|
Prefix |
These fields are an alternative to the Addressee field. If you supply these fields as well as the Addressee field, the Addressee field will be ignored. |
|
Address1 |
Address lines (maximum of 9 allowed) |
|
Postcode |
Max Size = 10 |