Purebasic Database Usage
-
- PureBasic Expert
- Posts: 2812
- Joined: Fri Apr 25, 2003 4:51 pm
- Location: Portugal, Lisbon
- Contact:
Purebasic Database Usage
For more explicit information on purebasic database handling, please download the purebasic odbc manual i've created at:
cosmos.oninetspeed.pt/rui_carvalho/storage/odbc.chm
EDIT:
Well has an addon, i've included also the SQLite Syntax (General SQL syntax) to help user's start on query's.
cosmos.oninetspeed.pt/rui_carvalho/storage/odbc.chm
EDIT:
Well has an addon, i've included also the SQLite Syntax (General SQL syntax) to help user's start on query's.
-
- Enthusiast
- Posts: 781
- Joined: Fri Apr 25, 2003 6:51 pm
- Location: NC, USA
- Contact:
Re: Purebasic Database Usage
Thnks, I will review it thoroughly ASAPNum3 wrote:Well has an addon, i've included also the SQLite Syntax (General SQL syntax) to help user's start on query's.
The SQL Syntax gives an error. Looks like it isn't included.
Terry
Re: Purebasic Database Usage
Excelent idea !!
But... the SQLite part was not compiled on CHM file
It tries to look in D:/Documentos/purebasic/sqlite etc.
But... the SQLite part was not compiled on CHM file

It tries to look in D:/Documentos/purebasic/sqlite etc.
ARGENTINA WORLD CHAMPION
-
- Enthusiast
- Posts: 362
- Joined: Wed Aug 06, 2003 2:49 pm
- Location: Venice - Italy, Japan when possible.
- Contact:
DNS less connection
What if I want to make a DNS-less connection? (providing directly the DB filename) 

In Windows I don't think you can use ODBC without a DSN...
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Oh, cool.. I didn't know it was possible.. How do you do it in VB and maybe we can get a feel as to how it might be done in VB?
Note that I'm far from an ODBC/Windows database guru but I'll help if I can
And are you talking about DSN or DNS? DSN being Data Source Name and DNS being Domain Name System.. I used to mis-type that acronym a lot but wanted to make sure we're talking about the same thing!
Note that I'm far from an ODBC/Windows database guru but I'll help if I can

And are you talking about DSN or DNS? DSN being Data Source Name and DNS being Domain Name System.. I used to mis-type that acronym a lot but wanted to make sure we're talking about the same thing!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
-
- Enthusiast
- Posts: 362
- Joined: Wed Aug 06, 2003 2:49 pm
- Location: Venice - Italy, Japan when possible.
- Contact:
I always mis-type and mis-spell it too!Karbon wrote:Oh, cool.. I didn't know it was possible.. How do you do it in VB and maybe we can get a feel as to how it might be done in VB?
Note that I'm far from an ODBC/Windows database guru but I'll help if I can
And are you talking about DSN or DNS? DSN being Data Source Name and DNS being Domain Name System.. I used to mis-type that acronym a lot but wanted to make sure we're talking about the same thing!

I'm talking abot Data Source Name, the one useful for databases.
In these days my collegues are in holiday, so no VB advices...
With ASP (VBscript, in some ways similar to VB) I do so to use an Access2000 DB:
Code: Select all
SQLQuery="select * from table"
set rs=Server.CreateObject("ADODB.Recordset")
rs.open SQLQuery,"DRIVER={Microsoft Access Driver (*.mdb)};DBQ=C:\filename.mdb",adOpenStatic,adLockPessimistic
id=rs("ID")
Ahh, you're using ADO there (not ODBC). I'd like to know how one could use ADO in PureBasic but I think it involves COM and some other stuff so I'm sure it's complicated if even possible.
I posted something in Tips And Tricks about how to create a DSN in PB code. Take a look - maybe that's what you want to do?
I posted something in Tips And Tricks about how to create a DSN in PB code. Take a look - maybe that's what you want to do?
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
- the.weavster
- Addict
- Posts: 1577
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
OCELOT SQL DBMS
Has anybody tried this?
http://www.ocelot.ca/
(Preferably someone clever who can figure out how it works and then tell me)
http://www.ocelot.ca/
(Preferably someone clever who can figure out how it works and then tell me)

Re: OCELOT SQL DBMS
Very nice work.
There is a little problem with the images they are in Portuguese.
(O que e bue de chato) - > ( It's a pain in the Axx )
So can you try to implement that in english?
But it is an excelent ideia.
keep the goot work.
There is a little problem with the images they are in Portuguese.
(O que e bue de chato) - > ( It's a pain in the Axx )

So can you try to implement that in english?
But it is an excelent ideia.
keep the goot work.
