lnEmployeeLat = 40.809491 lnEmployeeLong = -74.007731 lnClientLat = 41.728390 lnClientLong = -72.841476 lcClientName = '(Client Name)' lcEmployeeName = '(Employee Name)' lcEmployeLatLongPre = 'saddr=' lcClientLatLongPre = '&daddr=' lcEmployeeLat = ALLTRIM(STR(lnEmployeeLat)) lcEmployeeLong = ALLTRIM(STR(lnEmployeeLong)) lcClientLat = ALLTRIM(STR(lnClientLat,12,6)) lcClientLong = ALLTRIM(STR(lnClientLong,12,6)) this.browser.navigate('http://maps.google.com/maps?'+; lcEmployeLatLongPre+lcEmployeeLat+','+; lcEmployeeLong+ ; lcEmployeeName+; lcClientLatLongPre+; lcClientLat+','+; lcClientLong +; lcClientName)but failed to notice that taking the str function was returning an integer so added to allow for decimal places.
lcEmployeeLat = ALLTRIM(STR(lnEmployeeLat,12,6)) lcEmployeeLong = ALLTRIM(STR(lnEmployeeLong,12,6))Thanks
>http://maps.google.com/maps?saddr=Farmington,CT&daddr=40.809491,-74.007731 >>