Skip to main content
added 1 character in body
Source Link
sys49152
  • 1.7k
  • 1
  • 20
  • 22

Add this to your code instead your 'Select' line

Dim sqlcom as string

sqlcom = "Select Lon, Lat from TableA where IDENTsIDENT = """ + sValue + """ into Query"
run command sqlcom

Add this to your code instead your 'Select' line

Dim sqlcom as string

sqlcom = "Select Lon, Lat from TableA where IDENT = """ + sValue + """ into Query"
run command sqlcom

Add this to your code instead your 'Select' line

Dim sqlcom as string

sqlcom = "Select Lon, Lat from TableA where sIDENT = """ + sValue + """ into Query"
run command sqlcom
added missing quotes in statement
Source Link
sys49152
  • 1.7k
  • 1
  • 20
  • 22

Add this to your code instead your 'Select' line

Dim sqlcom as string

sqlcom = "Select Lon, Lat from TableA where IDENT = """" + sValue + """" into Query"
run command sqlcom

Add this to your code instead your 'Select' line

Dim sqlcom as string

sqlcom = "Select Lon, Lat from TableA where IDENT = " + sValue + " into Query"
run command sqlcom

Add this to your code instead your 'Select' line

Dim sqlcom as string

sqlcom = "Select Lon, Lat from TableA where IDENT = """ + sValue + """ into Query"
run command sqlcom
added 27 characters in body
Source Link
sys49152
  • 1.7k
  • 1
  • 20
  • 22

Add this to your code instead your 'Select' line

Dim sqlcom as string

sqlcom = "Select Lon, Lat from TableA where IDENT = " + sValue + " into Query"
run command sqlcom

Add this to your code

Dim sqlcom as string

sqlcom = "Select Lon, Lat from TableA where IDENT = " + sValue + " into Query"
run command sqlcom

Add this to your code instead your 'Select' line

Dim sqlcom as string

sqlcom = "Select Lon, Lat from TableA where IDENT = " + sValue + " into Query"
run command sqlcom
Source Link
sys49152
  • 1.7k
  • 1
  • 20
  • 22
Loading