Handler not defined...

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


Nevermind, me silly :)

Sorry....

-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Chris
Aernoudt
Sent: maandag 16 juni 2003 16:47
To: valentina at lists.macserve.net
Subject: Handler not defined...

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.

_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina




More information about the Valentina mailing list