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.

Me And SQLLite Again

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-11-2008, 04:47 PM
ceaser's Avatar
Basic4ppc Veteran
 
Join Date: May 2008
Location: Paarl, South Africa
Posts: 306
Unhappy Me And SQLLite Again

Hi Everybody

Please help! I have a database consisting of the following:

Jobname, Surveyor, Job Description, Coordinate System, Y X & Z coordinates of last station setup, etc............

I can have more than one "Jobname", but they must all be different. No 2 Jobs may have the same name.

Using the database and I say change the Y X & Z coordinates of the station setup, then the program adds an additional entry in the database (duplicates the Jobname), which I don't want.

The "Jobname" is the primary key and if I change something attached to the Jobname, it must update the database and not create another entry.

With NSBasic I used the keyword "Primary", which in this case will be the Jobname.



Thanks
Michael alias Ceaser
Reply With Quote
  #2 (permalink)  
Old 08-11-2008, 08:17 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

How are you changing the records?
You should use a query similar to:
Code:
"UPDATE table SET Y = 34, X = 34, ... WHERE JobName = 'endless debugging'"
Reply With Quote
  #3 (permalink)  
Old 08-11-2008, 09:19 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Erel View Post
WHERE JobName = 'endless debugging'"
Reply With Quote
  #4 (permalink)  
Old 08-12-2008, 05:36 AM
ceaser's Avatar
Basic4ppc Veteran
 
Join Date: May 2008
Location: Paarl, South Africa
Posts: 306
Default SQLLite

Thanks Erel!

Sorry for all those questions, but sometimes I cannot see the wood in the forest! These stupid questions will get less as I get to know your platform better.

Thanks
Michael
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 12:46 PM
SQLLite ceaser Questions (Windows Mobile) 1 10-12-2008 08:26 PM
Update\Insert In SQLLite ceaser Questions (Windows Mobile) 1 10-02-2008 03:58 PM
Delete from SQLlite ceaser Questions (Windows Mobile) 2 08-24-2008 08:29 AM
how to connect SQLlite on pocketpc thaidelphi Questions (Windows Mobile) 1 08-05-2008 06:01 AM


All times are GMT. The time now is 01:03 AM.


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