Cita:
Empezado por TOPX
Yo le entiendo y disculpará mi insistencia, pero creo que sí le sirve. Pues, nada obliga el uso de TTable, siendo que puede hacer algo así:
Código PHP:
$this->Query1->Open();
$this->Query1->Append();
//$this->Query1->CampoX = "0";
$this->Query1->Post();
Sólo estando pendiente de la propiedad TableName.
|
En primer lugar creo que para un Query no puede usarse para editarse, hice la prueba a como tu lo explicas y no jala de esa forma:
Código PHP:
//Actualizamos Campo
$this->ibQryCliente->Edit;
$this->ibQryCliente->DIASCRED = $this->edDiasCred->Text;
$this->ibQryCliente->Post;
Marca el Siguiente Error:
Código:
Application raised an exception class EPropertyNotFound with message 'Trying to access non-existant
property IBQuery->Edit in interbase.inc.php, line 701.'
El error es porque el Query no tiene esa propiedad para editar
Y Ni de esta manera:
Código PHP:
//Actualizamos Campo quitando ->EDIT
$this->ibQryCliente->Fields['DIASCRED'] = $this->edDiasCred->Text;
$this->ibQryCliente->Post;
Marca el siguiente errror:
Código:
Application raised an exception class EPropertyNotFound with message 'Trying to access non-existant property IBQuery->Post in interbase.inc.php, line 701.'
Por lo tanto creo que un Query no sirve para actualizar registros ....