Handler not defined...

Chris Aernoudt chris at pixellink.be
Mon Jun 16 16:46:38 CDT 2003


Hi,

I'm getting "handler not defined" on GetRecordsAsPropList when I call
getLanguages() in the script below... what am I missing here???

I have this in a movie script:

global gDataBase

on prepareMovie
  ValentinaDebugLevel(1)
  ValentinaInit(4*1024*1024, "xxxx-xxxx-xxxx-xxxx",
"xxxx-xxxx-xxxx-xxxx")
  
  gDataBase = new(xtra "VDataBase")
  OpenDataBase(gDataBase, the moviePath & "orac.vdb")
  put ValentinaErrorString()
end

-----

And this in a behavior:

global gDataBase

property pLangCursor, pRecords

on getLanguages
  strSQL = "SELECT ID, naam FROM talen" -- there are 6 records in
"talen"
  
  pLangCursor = new(xtra "VCursor", GetRef(gDataBase), strSQL)
  put ValentinaErrorString()
  
  pRecords = GetRecordsAsPropList(pLangCursor) -- here I get the error
  put pRecords
end


Thanks,
Chris.



More information about the Valentina mailing list