Select LAT and LNG where...

User avatar
sal21
PlatinumLounger
Posts: 4354
Joined: 26 Apr 2010, 17:36

Select LAT and LNG where...

Post by sal21 »

... In field STRADAE to the right ",...?

In this case:

STRADA COMUNE CAP PROVINCIA REG LAT LNG
"ARCO A. MARZIALE, ""," ROCCA DI MEZZO 67048 L'AQUILA 01 42.204953 13.520933
"ARCO A. MARZIALE, ""," ROCCA DI MEZZO 67048 L'AQUILA 01 42.204868 13.521112
"ARCO A. MARZIALE, ""," ROCCA DI MEZZO 67048 L'AQUILA 01 42.204787 13.521294
"ARCO A. MARZIALE, ""," ROCCA DI MEZZO 67048 L'AQUILA 01 42.204953 13.520933
"ARCO A. MARZIALE, ""," ROCCA DI MEZZO 67048 L'AQUILA 01 42.204868 13.521112
"ARCO A. MARZIALE, ""," ROCCA DI MEZZO 67048 L'AQUILA 01 42.204787 13.521294
"ARCO ALFIERI, ""," L'AQUILA 67100 L'AQUILA 01 42.347178 13.399539
"ARCO ALFIERI, ""," L'AQUILA 67100 L'AQUILA 01 42.347663 13.399863
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 78463
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Select LAT and LNG where...

Post by HansV »

What exactly do you want to do?
Best wishes,
Hans

User avatar
sal21
PlatinumLounger
Posts: 4354
Joined: 26 Apr 2010, 17:36

Re: Select LAT and LNG where...

Post by sal21 »

HansV wrote:
22 Jun 2022, 12:54
What exactly do you want to do?
A SQL to retrive LAT and LNG where right,1 on STRADE, have the comma. naturally i use ADO and vb6.

User avatar
HansV
Administrator
Posts: 78463
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Select LAT and LNG where...

Post by HansV »

That would be literally what you describe:

Code: Select all

SQL = 'SELECT LAT, LNG FROM [01-ABRUZZO] WHERE Right(STRADA,1)=','"
Best wishes,
Hans