<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi list.<br>
<br>
I'm using a TDBGrid component, with an OnEditButtonClick event, and
a visible button for the first (code) column. In the event handler I
open a search dialog, then I want to edit the dataset row and set
the column value and also other value (that is, code and description
as found in the search).<br>
<br>
However, I found that in the OnEditButtonClick event I can't put the
dataset in dsEdit state, the Edit procedure has no visible effect
and the field assignment triggers an exception.<br>
<br>
The same event handler attached to a regular button OnClick event
works as intended. The dataset is a Zeos TZQuery, but I'm not sure
if this could happen on a different kind of dataset.<br>
<br>
Is this a known or expected behavior? There is a workaround?<br>
<br>
Regards...<br>
<br>
<div class="moz-signature">-- <br>
<font face="Arial Narrow" color="#5f5f5f" size="3"><i>Ing. Julio
César Gázquez / MEBA - Mutual de Empleados del Banco</i></font>
<font face="Arial Narrow" color="#5f5f5f" size="2"><i><br>
Mitre 923 1º Piso<br>
0341- 4110533 / 4265010 / 0800 9990452<br>
S2000COS ROSARIO</i></font><font size="3"><i><br>
</i></font><br>
<font color="#005000" size="2"><b>16 resmas = 1 árbol</b><br>
Razón suficiente para pensar si es necesario imprimir este
correo</font><br>
</div>
</body>
</html>