Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

SQLLite staement syntax

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-02-2008, 09:31 PM
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
  #2 (permalink)  
Old 04-02-2008, 10:14 PM
Newbie
 
Join Date: Feb 2008
Posts: 8
Default

Thanks..it's slowly coming back to me
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problema SQLlite manu Spanish Forum 2 08-22-2011 11:46 AM
select case syntax tremara1 Basic4ppc Wishlist 4 10-31-2008 11:12 AM
SQLLite ceaser Questions (Windows Mobile) 1 10-12-2008 07:26 PM
Delete from SQLlite ceaser Questions (Windows Mobile) 2 08-24-2008 07:29 AM
Me And SQLLite Again ceaser Questions (Windows Mobile) 3 08-12-2008 04:36 AM


All times are GMT. The time now is 02:11 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0