View Single Post
  #1 (permalink)  
Old 04-02-2008, 09:31 PM
aureolevoyager aureolevoyager is offline
Newbie
 
Join Date: Feb 2008
Posts: 8
Unhappy SQLLite staement syntax

Returning to Basic after 25 years using Pascal ^Delphi, so grateful for help in specifying the syntax for an SQLLite update statement in BASIC

I want to update a record in the database where the values to be inserted in the fields are numbers - so

UPDATE SITES SET LATITUDE = fltLAT,LONGITUDE = fltLONG WHERE SITE = intSITE_ID

Gloval variables are

fltLAT and fltLONG are real
intSITE is an integer

I know BASIC is very tolerant of typing, but where do the ",',& go in the string I pass to CommandText?

Thanks in advance

Peter Y
UK

Last edited by aureolevoyager : 04-02-2008 at 09:33 PM. Reason: typo
Reply With Quote