Quantcast
Channel: GSAK Forum
Viewing all articles
Browse latest Browse all 75651

exporting caches as POIs to my car navigator by sbeelis - 2013-08-22

$
0
0
Also, if a cache name contains a semicolon that might break the export (that might be remedied if quotes were added to the cache name).

I think changing the sql statement as follows would solve the quote issue:

QUOTE
$_sql="Select Code, '"' || Name || '"',Latitude,Longitude FROM Caches WHERE RowID IN (Select * From GridTemp)"


Note that
QUOTE
'"' || Name || '"'

is
QUOTE
(single quote)(double quote)(single quote) || Name || (single quote)(double quote)(single quote)


Again, this probably won't deal well with cache names containing double or single quotes.

Viewing all articles
Browse latest Browse all 75651

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>