View Single Post

  #5 (permalink)  
Old 03-24-2005
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi,

From the top of my head:

Code:
var
   i: OleVariant;
   Loc: Variant;
   AddrResults: FindResults;
   Country: OleVariant;
begin
      // fill in City, Street, etc...
      AddrResults := Map.FindAddressResults(Street, City, '', '', PostalCode, Country);

      if AddrResults.Count > 0 then
         for n := 1 to AddrResults.Count do begin
            i := n;
            Loc := AddrResults.Item[i];

            // here you have all these things:
            // Loc.StreetAddress.Street;
            // Loc.StreetAddress.City;
            // Loc.StreetAddress.postalcode;
I like to ask everyone to give also feedback if solution is found ...It will benefit others too !
Reply With Quote