Topic: Google Maps
Using Derek's contacts app for Google maps search.
It uses search by postal / zip code and works fine.
I wanted to add address to search to locate street too beside postal code as some parts of the world there may not be established postal codes.
I have tried the following but couldn't get the syntax right.
Could somebody correct it please?
procedure Form1_Button7_OnClick (Sender, v1, v2: string; var Cancel: boolean); //** check on google maps
begin
v1 := 'https://www.google.com/maps/?q=' ;
v2 := (sqlexecute('select street from people where id = ' + inttostr(form1.tablegrid1.dbitemid)))
and
(sqlexecute('select postcode from people where id = ' + inttostr(form1.tablegrid1.dbitemid)));
openurl(v1+v2);
end;
God... please help me become the person my dog thinks I am.