![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Code Samples & Tips Share your recent discoveries and ideas with other users. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Code:
Con.CreateSQLTable ("Table1","mastertablename") What is the syntax that needed to be added to the code above if i want to set the data type of certain column when making sql table? Ex: i want to set "number" column to numeric. So i don't have to reedit the data type of column anymore with third-party application. Thanks. |
|
|||
|
Hi Dzt,
Thanks for your above program and answering all the questions on SQL However, when I try to compile your CSV2SL3 program to run on Device, it give me " NullReferenceException ". I have even included SQLDevice.dll in this folder with all your files. I have run other SQL program(eg. SQL Viewer from Erel) without any problem. ie Net 2.0 is installed. Thanks TC |
|
||||
|
Hi tcgoh,
Actually this program it was made to run on a desktop computer. To combile for PPC you need to: 1. Copy form C:\Program Files\Anywhere Software\Basic4ppc Desktop\Libraries SQLDesktop.DLL and SQLDevice.DLL. 2. Tools->Components->Device->Add DLL SQLDevice.DLL 3. Now it can compile And copy to your device the produced EXE, SQLDevice.DLL and from C:\Program Files\Anywhere Software\Basic4ppc Desktop\Libraries\SQLNative\Device the System.Data.SQLite.DLL file. |
|
|||
|
A program for windows excellent. Is freeware at this moment:
SQLite Database Browser http://sqlitebrowser.sourceforge.net/ |
|
|||
|
Hi dzt,
I'm trying to build a program with sl3. However, I face a few problems with data convertion, could you kindly point me to the right direction: 1. Your CSV2DLS3 is great, but it sometime give an error on the cmd line "DROP TABLE CUSTS"! (msg - no such table:custs) Can I use another code like clear table? or.... 2. My data file comes from FoxPro, can FoxPro export to sl3 file? if so do I need additional drivers or special codes. 3. Can Basic4ppc work with sql data file or only with sl3? Thanks and regards TC |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Date save as zero (0) in the SQLite database | mozaharul | Questions & Help Needed | 2 | 04-02-2008 09:25 AM |
| Command to create a database in sqlite | mozaharul | Questions & Help Needed | 5 | 03-30-2008 03:38 AM |
| How to combine table control and sqlite database | mozaharul | Questions & Help Needed | 1 | 03-27-2008 12:10 PM |
| How to convert an Access database to a sqlite database | Peter | Code Samples & Tips | 5 | 07-24-2007 03:20 PM |
| multiple connections to a sqlite database | Peter | Questions & Help Needed | 5 | 05-13-2007 07:49 AM |