Example of including error checking routines in RunRev code

william humphrey shoreagent at gmail.com
Tue Sep 2 21:43:51 CDT 2008


Ok -- solved #2 how to fix it (no more RunRev errors)


  *put* VDatabase_SqlSelect( gDatabase, tSQL2 ) into CursorRef


   *put* VCursor_RecordCount(CursorRef) into recNum

   *if* recNum > 0 *then*

      *put* VCursor_GetRecords(cursorRef,1,12,tab,*return* ) into fld
"phone_numbers"

   *else*

      *put* empty into fld "phone_numbers"

   *end* *if*

*
*

*-- On an aside, it is really nice that the Valentina API functions are such
unique names as anyone with a problem can just use our friend google to find
he solution.*


More information about the Valentina mailing list