Hello dear friends,
I have a code where doing two operations (One updating and then deleting) and
in first time its worked corectly but in sime time when I want to do it second
time it gives a error
Error Creating cursor handle
Any help please?
Thanks a lot
Here is a code
Query28.Active :=true;
Query28.Close;
Query28.SQL.Clear;
Query28.SQL.Add('Update ent.db');
Query28.SQL.Add('Set St = ''' + edit52.Text +'''');
Query28.SQL.Add('Where Ref = '''+ edit53.text + '''');
Query28.ExecSQL;
Query26.Active :=true;
Query26.Close;
Query26.SQL.Clear;
Query26.SQL.Add('delete from ven where ref = ''' + edit53.text + '''');
Query26.ExecSQL;
table1.Refresh;
table3.Refresh;
MessageDlg('Los cambios han realizado con exito',mtInformation,[mbOK], 0);
edit53.Text :='';
edit52.Text :='';
---------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/i7folB/TM
--------------------------------------------------------------------~->
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/delphi-en/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/