Close all databases - CRASH
Ruslan Zasukhin
ruslan_zasukhin at valentina-db.com
Mon Oct 14 09:03:03 CDT 2013
On 10/14/13 4:32 PM, "Mark Schonewille" <m.schonewille at economy-x-talk.com>
wrote:
> Hi Ruslan,
>
> No, not OK. I'm asking how do to it in liveCode, not C++ or something
> like that. I really have no idea why you're saying I'm using a tomato. I
> look in the right places for the documentation, but the documentation
> gives me useless answers.
>
> So, if vDatabase_SqlQuery() returns a query result reference, than how
> do I deal with that in LiveCode? There _IS_ no documentation for that!
There is documentation:
http://www.valentina-db.com/docs/v5/V4REV_Reference_5_en.pdf
Page 28
Yes here simply 4-5 properties.
put VDatabase_SqlQuery( q ) into queryResultRef
put VQueryResult_Type( queryResultRef ) into typeOfRes
if( typeOfRes = 1 ) // this is cursor
put VQueryResult_Cursor( queryResultRef ) into cursorRef
end if
.. Work with cursor
VQueryResult_Destructor( queryResultRef )
Ok we will update PDF today later.
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list