Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Me And SQLLite Again


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-11-2008, 04:47 PM
Knows the basics
 
Join Date: May 2008
Posts: 76
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: 3,132
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: 1,688
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Quote:
Originally Posted by Erel View Post
WHERE JobName = 'endless debugging'"
Reply With Quote
  #4 (permalink)  
Old 08-12-2008, 05:36 AM
Knows the basics
 
Join Date: May 2008
Posts: 76
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQLLite ceaser Questions & Help Needed 1 10-12-2008 08:26 PM
Update\Insert In SQLLite ceaser Questions & Help Needed 1 10-02-2008 03:58 PM
Delete from SQLlite ceaser Questions & Help Needed 2 08-24-2008 08:29 AM
how to connect SQLlite on pocketpc thaidelphi Questions & Help Needed 1 08-05-2008 06:01 AM
Problema SQLlite manu Spanish Forum 1 05-13-2007 07:36 PM


All times are GMT. The time now is 03:41 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0