HYPERLINK('http://www.google.de/maps?f=q&hl=en&q=' +Address+' '+"Post Code"+' '+City);For the route to the customer use this:
HYPERLINK('http://www.google.de/maps?f=d&hl=en&saddr=[from street]+[from post code]+[from city]&daddr=' +Address+' '+"Post Code"+' '+City);In this example i coded the [from] adress in the button what is not the finest art. The option hl=en ist the langage of the user.
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
So i add a Commandbutton to the form right?
the only "push" option i see is PushAction with the choices of "Ok, Cancel, LookupOk, LookupCancel, Yes, No, Close, Stop, Formhelp, RunObject, RunSystem, Lookup Table"
where do i add that code you referred to?
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
thanks for the help!
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
HI,
I am trying to do this.
I created another 3 fields in Contacts.
1. Routeadres text 30
2. Routepostcode code 20
3. Routestad text 30
Everyone can fill this in. This must be the homeadres.
So it must be like ?:
HYPERLINK('http://www.google.de/maps?f=d&hl=en&saddr=[routeadres]+[routepostcode]+[routestad]&daddr='
+Address+' '+"Post Code"+' '+City)
But this doesn't work. second half works but FROM adress doesn't work.
How Can I fix this ??
:-k
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
have a look at this code example:
And just to have al little fun with google maps try this:[code]
http://www.google.de/maps?f=d&hl=en&saddr=München&daddr=New%20York
Especially No. 38 in the list on the left side is verry interesting.
Josef Metz
I already solved it. \:D/
HYPERLINK('http://www.google.nl/maps?f=d&hl=en&saddr='+Routeadres+' '+Routepostcode+' '+Routestad+'&daddr='
+Address+' '+"Post Code"+' '+City);
I just forget some quotes. That's all !!
ooh yeahhhhhh ! =D>