I want to use the value in the control as a constant in an expression.How can i do it ? The expression is
Dim rate As Control
Set rate = Forms!frmSetUp![rate].Value
CurrentDb.Execute “ALTER TABLE Castings ALTER COLUMN CastingID COUNTER(” & rate & “,1)”
and the control is the field rate in the table affiliates.
How could i use the value for the afiliate 1 in the expression? I have entered this value to be 200.