NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: JohanR on August 14, 2012, 05:21:01 AM
-
Hi,
I have an "other" button on a browse and in the embed I have some code,
but the record buffer is empty.
This code precedes the embed.
How do I check if there was an error with this code, I presume this reads the record into the buffer.
p_web._LoadRecord(ccnr,ccn:ccnr_isn_key)
p_web.FileToSessionQueue(ccnr)
thanks
Johan
-
you could just do a GET(file,key) at that point in the code, then test the error value. If that fails then you probably have a clue as to why the _LoadRecord is failing....
-
Hi Bruce
How is the key primed?
If I just do a GET, it fails with "record not found"
get(ccnr,ccn:ccnr_isn_key)
If I prime the key value manually then it works, so the file is open and ready for business.
eg.
ccn:ccnr_isn = 1
get(ccnr,ccn:ccnr_isn_key)
Johan