[V4Rev]Valentina equivalent of revDataFromQuery

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Wed Jun 16 02:59:54 EDT 2010

On 6/16/10 3:59 AM, "Kay C Lan" <lan.kc.macmail at gmail.com> wrote:

> Diving into Rev + Valentina, again.
> This time around, as highly recommended by Ruslan (William Humphrey and
> others) I've tried to steer clear of Rev's own DB calls and stick
> exclusively with Val API calls. At his point all I'm trying to replicate is
> revDataFromQuery; ie extract actual data, not a cursor. I did a search of
> the Val Wiki and couldn't find anything that seemed right, so searching the
> Val and Rev Lists I discovered and email from Chris Sheffield 26Feb08
> (thanks) basically pointing out that in earlier versions of Val there were:
> Cursor_GetRecord and Cursor_GetRecords
> but these had disappeared. Ruslan mentions adding them back, but as I say, I
> can't find any reference searching the Val Wiki.

Hi Kay,

In the sources I see these methods

put VCursor_GetRecord( cursorRef, [RecIndex], [fldDelimiter] ) into VAR

put VCursor_GetRecords(
      cursorRef, [FromRec], [MaxRecords], [fldDelimiter], [recDelimiter] )
into VAR

So you can try call them using this syntax.

2) API Reference of V4REV is not in WIKI,
It is in separate PDF

You can find this PDF on this page


Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information

[I feel the need: the need for speed]

More information about the Use-livecode mailing list