Search found 39 matches

by AndrewM
Tue Mar 25, 2014 10:34 pm
Forum: General Discussion
Topic: PostGreSQL Database Question
Replies: 10
Views: 4982

Re: PostGreSQL Database Question

Can PB direct Postgres to run stored procedures?
by AndrewM
Tue Mar 25, 2014 11:53 am
Forum: General Discussion
Topic: PureBasic Roadmap
Replies: 14
Views: 13222

Re: PureBasic Roadmap

I wonder if there is any kind of release timetable? It would be nice to know when to expect the next version even in approximate terms.
by AndrewM
Thu Mar 20, 2014 12:02 pm
Forum: Coding Questions
Topic: Ms-access vs PureBasic
Replies: 11
Views: 20481

Re: Ms-access vs PureBasic

Using SQL-Server as a back end probably comes at a cost. Two things that I can think of are having to use surrogate keys on all tables, which can kill performance in some cases, and that some of the data bound controls do not work, when ms-access is set to use ansi compatible SQL/SQL Server SQL ...
by AndrewM
Thu Mar 20, 2014 7:00 am
Forum: Coding Questions
Topic: Ms-access vs PureBasic
Replies: 11
Views: 20481

Re: Ms-access vs PureBasic

Just a guess, PB would not have a concept of data-bound forms would it? Code would need to be written for feeding data into each control and then back into a database if a user changed a record? Bound forms are a lot less work but unbound forms have more possibility.
by AndrewM
Thu Mar 20, 2014 6:36 am
Forum: Coding Questions
Topic: Ms-access vs PureBasic
Replies: 11
Views: 20481

Re: Ms-access vs PureBasic

@ the.weavster.
Almost every professional developer says that ms-access is flaky. However when you have been using it for 20 years, one develops an instinct for tiptoeing around the land mines.
I did take a look as Lazarus, it on this machine but the IDE is ugly compared (crikey - the screen font ...
by AndrewM
Mon Mar 17, 2014 5:05 am
Forum: Coding Questions
Topic: Ms-access vs PureBasic
Replies: 11
Views: 20481

Re: Ms-access vs PureBasic

Thanks everyone,

I am not doubting anyone and have had similar experiences. I have never gotten on well with Visual Studio so have not gone in that direction - PB was like fresh air in comparison. So how could the PB users deepen the pool of knowledge re making great database applications?

Does ...
by AndrewM
Thu Mar 13, 2014 4:10 am
Forum: Coding Questions
Topic: Ms-access vs PureBasic
Replies: 11
Views: 20481

Ms-access vs PureBasic

I have gone back to ms-access for application development. Interesting ideas picked up in this forum have helped me create a coding style in ms-access that helped me overcome many of the limitations that I was having.

Ms-access can do OOP but if there is a bug, it is very bad at breaking on the ...
by AndrewM
Fri Dec 20, 2013 11:56 am
Forum: General Discussion
Topic: PostGreSQL Database Question
Replies: 10
Views: 4982

Re: PostGreSQL Database Question

Thanks Bluenzl, I am reading the survival guide.
by AndrewM
Mon Dec 09, 2013 10:06 am
Forum: General Discussion
Topic: PostGreSQL Database Question
Replies: 10
Views: 4982

Re: PostGreSQL Database Question

@ jagermeister
I think that what is needed is for a lot of people to pool their resource and make it easier to learn how to make database applications. As much as I like this forum, wonder if it is the right way to create a knowledge base. Recently I have been using StackExchange (in relation to ...
by AndrewM
Mon Dec 09, 2013 6:47 am
Forum: Coding Questions
Topic: Return string from PureBasic DLL function crashes ms-access
Replies: 6
Views: 2468

Re: Return string from PureBasic DLL function crashes ms-acc

Thanks acreis,
I will give it a go. The StrPtr function is not listed in the ms-access developer reference so no one would find it from that starting point.

On another matter there is another problem with using dll's in ms-access and that is that the path to the dll is hardwritten into the declare ...
by AndrewM
Sat Dec 07, 2013 6:50 am
Forum: Coding Questions
Topic: Return string from PureBasic DLL function crashes ms-access
Replies: 6
Views: 2468

Re: Return string from PureBasic DLL function crashes ms-acc

Thanks netmaestro,
As I have to pass the variable as reference, I should be able to continue using the same variable after pb has altered it. I think the issue is that I don't know how to read the memory address provided my ms-access in pb.

I have to meditate on the code above for a while.

Cheers
by AndrewM
Sat Dec 07, 2013 12:54 am
Forum: Coding Questions
Topic: Return string from PureBasic DLL function crashes ms-access
Replies: 6
Views: 2468

Re: Return string from PureBasic DLL function crashes ms-acc

I would like to get string operations working, namely to pass a string from ms-access to pb, change the string in pb and then get the changed string back in ms-access. Here is some test code that I am working to identify the issue. I have not worked with pointers before so the problem lies here.

PB ...
by AndrewM
Fri Dec 06, 2013 11:25 pm
Forum: Coding Questions
Topic: Return string from PureBasic DLL function crashes ms-access
Replies: 6
Views: 2468

Re: Return string from PureBasic DLL function crashes ms-acc

On close investigation, the issue is not a PureBasic bug, rather it is bad information in the PB help file. According to a MicroSofts MSDN web site at DLL can only return a number as a function return which explains why I can get the DLL to work with numbers. In the case of strings, the DLL can ...
by AndrewM
Fri Dec 06, 2013 3:47 am
Forum: General Discussion
Topic: PostGreSQL Database Question
Replies: 10
Views: 4982

Re: PostGreSQL Database Question

I note that there is a 3D programming section on the PureBasic Forum. Would it be a good idea to have database programming section too. I am a heavy ms-access user and an occasional Postgres experimenter. The thing that holds me back in developing applications in purebasic that run off postgres is ...
by AndrewM
Thu Dec 05, 2013 11:54 am
Forum: Coding Questions
Topic: Return string from PureBasic DLL function crashes ms-access
Replies: 6
Views: 2468

Return string from PureBasic DLL function crashes ms-access

If I create a DLL that returns a string to ms-access, ms-access 'stops working' and crashes. If I convert the string to a double, then the DLL works fine an ms-access does not crash. I also suspect that the DLL remains loaded after the calling script has terminated however this could be by design ...