Record will not delete

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Nov 25 23:49:36 CST 2003


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

> Hi Rusian:
> 
> I've tried it this way also...With the quote after recID= ", the SELECT
> statement thinks that this is all that is included.  +id,kServer and
> kReadWrite are no longer part of the statement, so I get the "there is
> no method or property with this name" error...


>> May be it must be as
>> 
>>  curs = mDataBase.SQLSelect(
>>             "SELECT recID,* FROM Customers WHERE recID = " + id,
>>             kServer,kReadWrite)

Mike,

Simply split them on few lines of code then


    query = "SELECT recID,* FROM Customers WHERE recID = " & id

    
    curs = mDataBase.SQLSelect( query, kServer, kReadWrite )

Mike, it is so simple.

You must just call function with 3 parameters.

First parameter string
Second and third - numbers.


-- 
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