main logo
Subject: Re: Updateing??
Author: Ruslan Zasukhin
Posted: 2001/12/30 09:12:16
 
View Entire Thread
New Search


on 12/30/01 16:01, Claudius Sailer at Claudius /AT/ sailer-online .D.OT de wrote:

> Hi,
>
> I made some tests with UPDATE but I always got the same result
>
> SQLString="UPDATE Depot SET Depot_ID='"+ContextualText(i,3)+"' WHERE
> RecID='"+str(AusgewaehlteBuchung)+"'"
> --> SQLString=UPDATE Depot SET Depot_ID='3' WHERE RecID='2'
> count=meineDatenbank.SqlExecute(SQLString)
>
>
> SQLString="UPDATE Depot SET Depot_ID='"+ContextualText(i,3)+"' WHERE
> WP_ID='"+str(AusgewaehlteBuchung)+"'"
> --> SQLString=UPDATE Depot SET Depot_ID='3' WHERE WP_ID='2'
> count=meineDatenbank.SqlExecute(SQLString)
>
>
> --> count was every time 0
>
> But I have both records and it should normaly change something.
>
> At first I tested it without using ' but with the same result.
>
> Whats my fault?

May be this is not your fault.

Looks like command UPDATE do not return correct count. Yes?

--
Best regards,
Ruslan Zasukhin

-------------------------
Paradigma.

e-mail: ruslan@paradigmasoft.com
web : http://www.paradigmasoft.com

To subscribe to the Valentina mail list
send a letter to valentina-on /AT/ lists .D.OT macserve.net
 
©2001 Ruslan Zasukhin
<-- Prior Message New Search Next Message -->