J
Jorge Novoa
Hello everyone!
I got a little error trying to execute this query:
DoCmd.RunSQL "UPDATE caso SET caso.CasoId ='" & Me.cbxGDestino & "-" &
Trim(str(Caso.Deudor)) & "', caso.Gestor ='" & Me.cbxGDestino & "',
caso.FReAsignacion ='" & Format(Me.datFAsignacion2, "dd/mm/yyyy") & "' " _
& "WHERE (((caso.Gestor)='" & Me.cbxGOrigen & "'));"
An error message comes uo telling me that 'the variable has not been
defined, inside the trim funcion *Trim(str(Caso.Deudor))*, highlighting the
field: Caso.Deudor.
I've tried to remove the trim() and str() funcions, leaving only tthe field
caso.deudor.
But It ssems that the query doesn't recognize the field DEUDOR.. which is
indeed a field of the CASO table.
How can I solve this???
Please help me!
thanx a lot
Jorge Novoa
I got a little error trying to execute this query:
DoCmd.RunSQL "UPDATE caso SET caso.CasoId ='" & Me.cbxGDestino & "-" &
Trim(str(Caso.Deudor)) & "', caso.Gestor ='" & Me.cbxGDestino & "',
caso.FReAsignacion ='" & Format(Me.datFAsignacion2, "dd/mm/yyyy") & "' " _
& "WHERE (((caso.Gestor)='" & Me.cbxGOrigen & "'));"
An error message comes uo telling me that 'the variable has not been
defined, inside the trim funcion *Trim(str(Caso.Deudor))*, highlighting the
field: Caso.Deudor.
I've tried to remove the trim() and str() funcions, leaving only tthe field
caso.deudor.
But It ssems that the query doesn't recognize the field DEUDOR.. which is
indeed a field of the CASO table.
How can I solve this???
Please help me!
thanx a lot
Jorge Novoa