I am trying to have a user enter values via an interface and continue to run the program but the following line (Select...) fails to work most of the time as part of the program (although it works fine when you entered in a MapBasic window).
Dim Lat As Float
Dim Lon As Float
Dim sIDENT As String
Dim sValue As String
Control StaticText
Position 150,50
Title "Enter ID ?"
Control EditText
Position 150,70
Width 50 Height 15
ID 99
Value " " ' default value
Into sValue
Select Lon, Lat from TableA where sIDENT = sValue into Querry