[nsbasic-ce] Connect NS-Basic To MySQL Server

2009-09-10 Thread twirianta
Need help how to connect/access MySQL Server from NS-Basic (using WM5)? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To

Re: [nsbasic-ce] NSExecute error

2009-09-10 Thread George Henne
You might try testing this with a simpler program to see what is going on. You should also try Execute and ExecuteGlobal, which have different (and poorly documented) scoping rules. Hi All, I'm creating arrays based on my form names on the fly using NSExecute. Form names are read from a text

Re: [nsbasic-ce] Connect NS-Basic To MySQL Server

2009-09-10 Thread George Henne
Have a look at the TCPClient and TCPServer samples which come with NS Basic. You could modify the TCPServer sample to send the requests from TCPClient to MySQL, then return the results. Need help how to connect/access MySQL Server from NS-Basic (using WM5)? Thanks

[nsbasic-ce] Re: NSExecute error

2009-09-10 Thread phlipsmsu
Hi George, I made this simpler program this morning. It repeats the same functionality, but without all the background stuff going on, with the same result. Just attach it to a form with a single command button. If I change the NSExecute in _Load to an executeglobal, the redim in the _Click

[nsbasic-ce] Re: NSExecute error

2009-09-10 Thread phlipsmsu
Hey George, I think I might have just found the issue. Being the inital dim is setting an array of fixed size, the redim apparently can't resize that. If I initialize the variable as a non-array, then the redims work fine and can happen as many times as needed. Shaun --- In

Re: [nsbasic-ce] Re: NSExecute error

2009-09-10 Thread George Henne
Sounds good! Hey George, I think I might have just found the issue. Being the inital dim is setting an array of fixed size, the redim apparently can't resize that. If I initialize the variable as a non-array, then the redims work fine and can happen as many times as needed. Shaun --- In