This topic is locked

BeforeAdd variable keys dont work 6.01

10/19/2009 12:33:05 PM
ASPRunnerPro General questions
R
RASM author

Hi
I'm using Asprunner version 6.1 , and BeforeAdd(values,message,inline) in event don´t work more keys("variable") .
example str = "UPDATE Empresa set IDContador = "& rsCont("IDContador") &" WHERE IDEmpresa = " & keys("IdEmpresa")
In version 6.0 Asprunner , keys variable works in BeforeAdd event , have any suggestion for replace this variable in version 6.1?
thanks.

J
Jane 10/20/2009

Romulo,
use After record added event for this purpose.

We've removed keys parameter because key value is not defined in this event for auto-increment/auto-number fields.