Intento borrar un registro de una tabla pero no lo hace
La sentencia que uso es la siguiente
bakSearchTableMySQL "Ventas" "Cedula='[Cedula]' AND Vendedor='[Vendedor]'" "[Lista]"
bakGetRowTableMySQL "Ventas" 0 [JSON]
bakDelStrTableMySQL "Ventas" [Resultado]
Eliminar registro con el plugin Mysql
Moderator: Neosoft Support
Re: Eliminar registro con el plugin Mysql
El plug-in comienza filas de numeración en la tabla con 1 en lugar de 0. Trate de escribir así:gusgusl wrote:Intento borrar un registro de una tabla pero no lo hace
La sentencia que uso es la siguiente
bakSearchTableMySQL "Ventas" "Cedula='[Cedula]' AND Vendedor='[Vendedor]'" "[Lista]"
bakGetRowTableMySQL "Ventas" 0 [JSON]
bakDelStrTableMySQL "Ventas" [Resultado]
bakGetRowTableMySQL "Ventas" 1 [JSON]
El valor se obtiene a partir de la primera fila.
Re: Eliminar registro con el plugin Mysql
Probe cambiando el valor indicado pero sigue sin dejarme borrar el registro de la tabla:
change the indicated value but still not let me delete the record from the table
bakGetRowTableMySQL "Ventas" 1 [JSON]
bakDelStrTableMySQL "Ventas" [Resultado]
La variable [JSO] me muestra el siguiente resultado:
The variable [JSON] shows me the following result:
[{"Cedula":"24569851","Vendedor":"Daniela Rodriguez","Id":"19","Cliente":"undefined"}]
Lo cual es correcto ya que es el registro que quiero borrar.
The result is correct because this record is that I want to erase.
Y la variable [Resultado] me muestra lo siguiente:
And the variable [Resultado] shows me the following:
[{"Cedula":"24569851","Vendedor":"Daniela Rodriguez","Id":"19","Cliente":"undefined"}]
No deberia mostrarme esta variable "True" o "False" como respuesta?
The response of this variable should not be " True" or " False"?
change the indicated value but still not let me delete the record from the table
bakGetRowTableMySQL "Ventas" 1 [JSON]
bakDelStrTableMySQL "Ventas" [Resultado]
La variable [JSO] me muestra el siguiente resultado:
The variable [JSON] shows me the following result:
[{"Cedula":"24569851","Vendedor":"Daniela Rodriguez","Id":"19","Cliente":"undefined"}]
Lo cual es correcto ya que es el registro que quiero borrar.
The result is correct because this record is that I want to erase.
Y la variable [Resultado] me muestra lo siguiente:
And the variable [Resultado] shows me the following:
[{"Cedula":"24569851","Vendedor":"Daniela Rodriguez","Id":"19","Cliente":"undefined"}]
No deberia mostrarme esta variable "True" o "False" como respuesta?
The response of this variable should not be " True" or " False"?