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.


Date save as zero (0) in the SQLite database


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-01-2008, 11:15 AM
Senior Member
 
Join Date: Mar 2008
Posts: 103
Default Date save as zero (0) in the SQLite database

In the SQLite insert command the "insert into geo values(calender1.values)" save the date as ticks.

But if I use " insert into geo values(date(calender1.values))" then it saves zero (0) in the database.


Please help


regards
Reply With Quote
  #2 (permalink)  
Old 04-02-2008, 08:21 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Try:
Code:
"insert into geo values('" & date(calender1.values) & "')"
Reply With Quote
  #3 (permalink)  
Old 04-02-2008, 10:25 AM
Senior Member
 
Join Date: Mar 2008
Posts: 103
Default

It works.
Thank you very much sir.
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
setting calendar value from a sqlite date Ricky D Questions & Help Needed 0 09-12-2008 08:31 AM
Graphic in SQLite Database Picard Questions & Help Needed 1 08-23-2008 12:03 PM
Command to create a database in sqlite mozaharul Questions & Help Needed 5 03-30-2008 04:38 AM
Convert Any Database to SQLite (source & exe) dzt Code Samples & Tips 6 02-28-2008 08:39 AM
How to convert an Access database to a sqlite database Peter Code Samples & Tips 5 07-24-2007 04:20 PM


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


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