Can't reconnect

Mark Schonewille m.schonewille at economy-x-talk.com
Tue Oct 15 08:42:47 CDT 2013


Thanks Ivan. I'll adjust my code. I didn't know that the feature was 
going to be removed. Ruslan just said it was impossible, which is an 
incorrect statement.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 10/15/2013 15:37, Ivan Smahin wrote:
>
> On Oct 15, 2013, at 12:44 PM, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote:
>
>> Hi Ruslan,
>>
>> No, you're wrong. Ivan's answer was correct. It now works.
>>
>
>
> Not exactly. Ruslan was about following - that "feature" (silently open connection in database constructor) will be removed soon.
> You should not rely on this.
> Instead you should open connection himself either as close one:
>
> put vConnection_Constructor("localhost","sa","sa",15432) into lDatabaseConnection
> get vConnection_Open( lDatabaseConnection )
> put vDatabase_Constructor(lDatabaseConnection) into lDatabase
> ...
> get closeAllDatabases
> get vConnection_Close( lDatabaseConnection )
> ...
>


More information about the Valentina mailing list