Search found 13 matches
- Fri Jan 31, 2025 3:07 pm
- Forum: Coding Questions
- Topic: open a database
- Replies: 22
- Views: 70857
Re: open a database
Is there an example of opening a SQLite db and acessing it? This is my first try at using SpiderBasic. To accomplish access to the DB, I wrote a program in PHP to access the SQLite DB. In SpiderBasic I send a request request = HTTPRequest(#PB_HTTP_Get, "http://localhost/person_api.php?personNum ...
- Fri Jan 31, 2025 11:46 am
- Forum: Coding Questions
- Topic: open a database
- Replies: 22
- Views: 70857
Re: open a database
My first SpiderBasic program.
I get errors in SpiderBasic whan I try to open this SQLite database. What am I doing wrong?
The error: "Bas parameter type, number expected instead of string"
The code:
If OpenDatabase(0, "C:\rbp101\projects\foodbank_project\data\foodbank.db")
Debug "Database ...
I get errors in SpiderBasic whan I try to open this SQLite database. What am I doing wrong?
The error: "Bas parameter type, number expected instead of string"
The code:
If OpenDatabase(0, "C:\rbp101\projects\foodbank_project\data\foodbank.db")
Debug "Database ...
- Sun Feb 18, 2024 10:54 am
- Forum: Coding Questions
- Topic: open a database
- Replies: 22
- Views: 70857
Re: open a database
Thanks for the help. I'm going to study pure and spider some more.
Is there a book somewhere I can get. I'm about as smart as a rock when it comed to pure and spider.
I always like basic. people knock it. But I can pick up a basic program and understand it. Other languages not so much, especially ...
Is there a book somewhere I can get. I'm about as smart as a rock when it comed to pure and spider.
I always like basic. people knock it. But I can pick up a basic program and understand it. Other languages not so much, especially ...
- Sun Feb 18, 2024 8:28 am
- Forum: Coding Questions
- Topic: open a database
- Replies: 22
- Views: 70857
Re: open a database
Most of my systems are in multiple sites.
The last winery system was all over, with sites in europe, south america, most states.
Had about 4 wineries where they crushed, blended. The bottling plant had 14 lines. One line did about 20K bottles per hour.
The glass plant was the largest in the us and ...
The last winery system was all over, with sites in europe, south america, most states.
Had about 4 wineries where they crushed, blended. The bottling plant had 14 lines. One line did about 20K bottles per hour.
The glass plant was the largest in the us and ...
- Sat Feb 17, 2024 10:02 pm
- Forum: Coding Questions
- Topic: open a database
- Replies: 22
- Views: 70857
Re: open a database
The system is winery management. Probably the most complex system I'v done. I've had lots of db experience.One complex system I was lead for installing HR, Payroll, Benefits for some of the largest Cities, like LA and Seattle. Plus others.
PeopleSoft has about 3500 tables. Just trying to figure out ...
PeopleSoft has about 3500 tables. Just trying to figure out ...
- Sat Feb 17, 2024 10:33 am
- Forum: Coding Questions
- Topic: open a database
- Replies: 22
- Views: 70857
Re: open a database
I've never used pureBasic. I looked at it and I like it.
I was trying to figure out if pureBasic could open a server in the code. Or does it require something like Apache as a server.
Maybe I missed it, but I couldn't find docs on how to set it up to be standalone as server or how to do it with ...
I was trying to figure out if pureBasic could open a server in the code. Or does it require something like Apache as a server.
Maybe I missed it, but I couldn't find docs on how to set it up to be standalone as server or how to do it with ...
- Thu Feb 15, 2024 3:13 pm
- Forum: Coding Questions
- Topic: open a database
- Replies: 22
- Views: 70857
Re: open a database
Thanks for your advice. I think I found what I was looking for.
I'm sure as spiderBasic matures, it will have support.
I like the concept of spiderBasic, and will continue to have interest.
Thanks everyone for your support.
I'm sure as spiderBasic matures, it will have support.
I like the concept of spiderBasic, and will continue to have interest.
Thanks everyone for your support.
- Thu Feb 15, 2024 2:33 pm
- Forum: Coding Questions
- Topic: open a database
- Replies: 22
- Views: 70857
Re: open a database
I looked at all the examples and can't see openDatabase.
I see where they test openDtatbase to see if it was opened and if not create a database.
I suspect the openDatabase does not support SQLite.
Maybe I should move on and find a language that opens sqlite databases.
Thanks for the help anyway..
I see where they test openDtatbase to see if it was opened and if not create a database.
I suspect the openDatabase does not support SQLite.
Maybe I should move on and find a language that opens sqlite databases.
Thanks for the help anyway..
- Thu Feb 15, 2024 12:35 pm
- Forum: Coding Questions
- Topic: open a database
- Replies: 22
- Views: 70857
open a database
I'm trying to open a sqlite database..
I'm having trouble trying to understand the steps involved.
I tried; OpenDatabase(1,"c:\rbp101\projects\foodbank_project\data\fb.db") But get errors.
So how do I open the database..
Thanks for the help..
Dan
I'm having trouble trying to understand the steps involved.
I tried; OpenDatabase(1,"c:\rbp101\projects\foodbank_project\data\fb.db") But get errors.
So how do I open the database..
Thanks for the help..
Dan
- Sat Feb 10, 2024 11:15 pm
- Forum: Coding Questions
- Topic: database field names
- Replies: 2
- Views: 6302
Re: database field names
Im the one who ask the question .
No one answered if it would work or not?
Anyway that is a work around and not a command to retrieve data by field name.
So does that question I posted work or not?
This is my first time looking at spiderbasic, so the question may be something everyone already does ...
No one answered if it would work or not?
Anyway that is a work around and not a command to retrieve data by field name.
So does that question I posted work or not?
This is my first time looking at spiderbasic, so the question may be something everyone already does ...