Hi
I have taken my purebasic to my laptop when I am away to an office of a friend. I wrote a program on the desktop with .pb and .pbf files and a data file. When I take it to the laptop and try to save the source code changes it won't save the changes. This must have to do with sharing or ...
Search found 37 matches
- Tue Oct 13, 2015 3:59 pm
- Forum: Coding Questions
- Topic: Permissions on windows.
- Replies: 0
- Views: 1032
- Tue May 26, 2015 8:53 pm
- Forum: Coding Questions
- Topic: Opening, creating sqlite database
- Replies: 4
- Views: 2208
Re: Opening, creating sqlite database
Wow!
An embarrassment of answers. Thanks so much. This is a great birthday present!
An embarrassment of answers. Thanks so much. This is a great birthday present!
- Tue May 26, 2015 5:22 pm
- Forum: Coding Questions
- Topic: Opening, creating sqlite database
- Replies: 4
- Views: 2208
Opening, creating sqlite database
Hi,
I'm wondering if someone can point me to a solution for opening sqlite databases.
I want an routine that will open the database "example.s3db" say in the default file area. If it can't be found there then the program offers the request/browse screen and/or an option to create a new empty ...
I'm wondering if someone can point me to a solution for opening sqlite databases.
I want an routine that will open the database "example.s3db" say in the default file area. If it can't be found there then the program offers the request/browse screen and/or an option to create a new empty ...
- Sat Jan 31, 2015 10:15 pm
- Forum: Feature Requests and Wishlists
- Topic: Scrollable grid with decent features
- Replies: 0
- Views: 1268
Scrollable grid with decent features
Hi
I realize that srod is producing the grid for purebasic these days and there is another fellow who made some modifications to one of your native tools that does a few things with a grid. However, these people are mere mortals and if they pass away or become uninterested this is not how a decent ...
I realize that srod is producing the grid for purebasic these days and there is another fellow who made some modifications to one of your native tools that does a few things with a grid. However, these people are mere mortals and if they pass away or become uninterested this is not how a decent ...
- Sun Dec 14, 2014 7:12 pm
- Forum: Coding Questions
- Topic: Can't change the color in a dategadget or make it modifiable
- Replies: 6
- Views: 2458
Re: Can't change the color in a dategadget or make it modifi
Ok. I used your code and it does work as you said. Sorry for the misunderstanding. I think I will just use a calendar gadget to change the date if need be and a string gadget to get the final date which I can make the same background colors as the others.
Thanks for your help Rashad!
John
Thanks for your help Rashad!
John
- Sun Dec 14, 2014 4:55 pm
- Forum: Coding Questions
- Topic: Can't change the color in a dategadget or make it modifiable
- Replies: 6
- Views: 2458
Re: Can't change the color in a dategadget or make it modifi
Hi
Are you sure you are duplicating the problem? enter a 1 in the first text box and then go back to the dategadget and try to change the date. It won't do it.
Are you sure you are duplicating the problem? enter a 1 in the first text box and then go back to the dategadget and try to change the date. It won't do it.
- Sun Dec 14, 2014 4:17 am
- Forum: Coding Questions
- Topic: Can't change the color in a dategadget or make it modifiable
- Replies: 6
- Views: 2458
Re: Can't change the color in a dategadget or make it modifi
Thanks Rashad.
I had looked at the help doc but it says dategadget can be set with setcolor on the setcolor doc but on its own documentation it says that only calendar can be set with set color. So I missed that. But that still doesn't answer the fact that the date cannot be changed after I make a ...
I had looked at the help doc but it says dategadget can be set with setcolor on the setcolor doc but on its own documentation it says that only calendar can be set with set color. So I missed that. But that still doesn't answer the fact that the date cannot be changed after I make a ...
- Sat Dec 13, 2014 9:13 pm
- Forum: Coding Questions
- Topic: Can't change the color in a dategadget or make it modifiable
- Replies: 6
- Views: 2458
Can't change the color in a dategadget or make it modifiable
Hi,
I am having some trouble changing the color for a dategadget . The doc says it can be done. Another problem is that when I move a date to the dategadget it then becomes unmodifiable if i just try to modify the text in the box. If I go into the calendar with a down arrow, it will allow me to ...
I am having some trouble changing the color for a dategadget . The doc says it can be done. Another problem is that when I move a date to the dategadget it then becomes unmodifiable if i just try to modify the text in the box. If I go into the calendar with a down arrow, it will allow me to ...
- Mon Dec 01, 2014 9:09 am
- Forum: Coding Questions
- Topic: Indexes in SQLite
- Replies: 4
- Views: 1739
Re: Indexes in SQLite
Yeah that could work if there arn't too many gaps. If there are then you would keep subtracting until you found something.
- Mon Dec 01, 2014 8:09 am
- Forum: Coding Questions
- Topic: Indexes in SQLite
- Replies: 4
- Views: 1739
Re: Indexes in SQLite
Hi
That is what I did. But I was hoping i could use the reverse index to do an efficient lookup in reverse
Here is what I do now :
SQL$ = "SELECT * FROM JobData WHERE JobID < '" + LASTKEY$ + "' order by JobID DESC LIMIT 1 ;"
This seems pretty inefficient to go through all the data just to get to ...
That is what I did. But I was hoping i could use the reverse index to do an efficient lookup in reverse
Here is what I do now :
SQL$ = "SELECT * FROM JobData WHERE JobID < '" + LASTKEY$ + "' order by JobID DESC LIMIT 1 ;"
This seems pretty inefficient to go through all the data just to get to ...
- Sun Nov 30, 2014 10:15 pm
- Forum: Coding Questions
- Topic: Indexes in SQLite
- Replies: 4
- Views: 1739
Indexes in SQLite
Hi
I have tried to create a reverse key for my main key in a simple database so that I can read the key in reverse order (to do a read previous on the table).
I use a query like select * from xyz table indexed by revindex. Revindex contains the key from the xyz table but in descending order.
The ...
I have tried to create a reverse key for my main key in a simple database so that I can read the key in reverse order (to do a read previous on the table).
I use a query like select * from xyz table indexed by revindex. Revindex contains the key from the xyz table but in descending order.
The ...
- Wed Nov 26, 2014 6:52 pm
- Forum: Coding Questions
- Topic: Quick Database Question
- Replies: 23
- Views: 6615
Re: Quick Database Question
Thanks people.
I think we have pretty well discussed this area. I am now curious about how to read previous in sqlite. I know you can't do it with PreviousDatbaseRow. I will create a new topic for discussing this area if I can't really get a solution today.
I think we have pretty well discussed this area. I am now curious about how to read previous in sqlite. I know you can't do it with PreviousDatbaseRow. I will create a new topic for discussing this area if I can't really get a solution today.
- Tue Nov 25, 2014 11:54 pm
- Forum: Coding Questions
- Topic: Quick Database Question
- Replies: 23
- Views: 6615
Re: Quick Database Question
Hi
Here is the result of looking at debug SQL$ INSERT INTO JobData VALUES ('9422','ABC','12/02/2014','00:30','10','120','1200','8','45','0','0','0','0')
it sends text but it apparently converts correctly into a JobID because the record is added. I validate each fields before posting to make sure ...
Here is the result of looking at debug SQL$ INSERT INTO JobData VALUES ('9422','ABC','12/02/2014','00:30','10','120','1200','8','45','0','0','0','0')
it sends text but it apparently converts correctly into a JobID because the record is added. I validate each fields before posting to make sure ...
- Tue Nov 25, 2014 10:19 pm
- Forum: Coding Questions
- Topic: Quick Database Question
- Replies: 23
- Views: 6615
Re: Quick Database Question
Hi
I have settled on a final handling of this database insert issue. I have made the date and time fields in the data base into text fields. I have made the insert logic like this:
SQL$=""
SQL$ = "INSERT INTO JobData VALUES ('" +
SQL$ + GetGadgetText(#String_JobID) + "','" +
SQL ...
I have settled on a final handling of this database insert issue. I have made the date and time fields in the data base into text fields. I have made the insert logic like this:
SQL$=""
SQL$ = "INSERT INTO JobData VALUES ('" +
SQL$ + GetGadgetText(#String_JobID) + "','" +
SQL ...
- Tue Nov 25, 2014 2:20 am
- Forum: Coding Questions
- Topic: Quick Database Question
- Replies: 23
- Views: 6615
Re: Quick Database Question
Yes that sqliteexpert.com site is fabulous. The freeware version is much better than sqliteadmin.
Nice suggestion.
John
Nice suggestion.
John