Delete Record - Valentina / RunRev

Warren Kuhl warrenkuhl at gmail.com
Sat Nov 20 15:57:45 CST 2010


I am trying to delete a record and am getting the following "Wrong ref for
tblRef' in my log.  What is this telling me as the same table works as a
select a few lines down in the log.

Here is my delete statement:

*put* Vtable_DeleteRecord(fDatabase,"Delete FROM Favorites where KeywordF =
'" & tLine & "'")

*get* vDatabase_Flush(fDatabase)

My log....
VTable_DeleteRecord...
 PARAM: tblRef = "53415400"
ERROR: Wrong ref for "tblRef"

return None

VDatabase_Flush...
 PARAM: dbRef = "53415400"
return

VDatabase_SqlSelect...
 PARAM: dbRef = "53415400"
 PARAM: inStrQuery = "SELECT Termf FROM Favorites where KeywordF = 'test2j'
Order by TermF"
return res = 53415512
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20101120/b5b2d482/attachment.htm>


More information about the Valentina mailing list