difference between "get" and "put" with API way and RunRev

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Aug 9 01:36:01 CDT 2008


On 8/9/08 1:01 AM, "william humphrey" <shoreagent at gmail.com> wrote:

Hi william, 

> I discovered that if I
> 
>   get VDatabase_SqlSelect( gDatabase, tSQL4 )
>   put it into CursorRef_consignees
>   get VCursor_GetRecords(cursorRef_consignees,1,112,tab,return )
>   put it into tResult
>   put tResult into field "theConsigneeData" of card id 1002 of stack
> "Consignees"
> 
> I get no error but when I say:
> 
> put VDatabase_SqlSelect( gDatabase, tSQL4 ) into CursorRef_consignees
> put VCursor_GetRecords(cursorRef_consignees,1,112,tab,return ) -- new line
>  into field "theConsigneeData" of card id 1002 of stack "Consignees"
> 
> then for those records where VCursor_GetRecords returns no records because
> there are none I get this error:
> 
> *
> *
> 
> Type Function: error in function handler
> 
> Object Client Card
> 
> Line get VCursor_GetRecords(cursorRef_consignees,1,112,tab,return )
> 
> Hint VCursor_GetRecords
> 
> 
> Can someone please explain this to me?  If the above returns some records I
> don't get any error.  And even then it is inconsistent as sometimes it
> doesn't error even then.

Please copy paste this text into our mantis.
    will be great if simple stack attached to reproduce.

-- 
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