Record will not delete

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Nov 25 22:11:49 CST 2003


on 11/25/03 9:31 PM, Michael Krugman at admin at ktinet.net wrote:

> Hi Rusian:
> 
> Each cursor is set up this way, but still no luck deleting anything.
> Any other suggestions?

Hi Michael,

I wonder, you really have code as:


 curs = mDataBase.SQLSelect(
            "SELECT * FROM Customers WHERE recID= 0+id, k_Read/Write")
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


This is WRONG

You have insert ReadWrite parameter, inside of SQL string.
This is WRONG.


Must be 


 curs = mDataBase.SQLSelect(
            "SELECT * FROM Customers WHERE recID= 0+id",
            kServer, kReadWrite )


Also pay attention that ReadWrite parameter must go after parameter
    kServer


I think you need VERY VERY attentive read docs.
And look into V4Md examples.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list