G
Guest
I'm using a continuous form with text boxes with qty. To show a user a
percentage insted of qty on double click event I'm using the following:
Me.M1.Requery
If Me.FY > 0 Then
Me.M1 = Nz(Me.M1) / Me.FY
Else
Me.M1 = 0
End If
Me.M1.Format = "Percent"
Me.M1.Locked = True
The format is being changed into "Percent" for all form but the calculation
is done only for the selected row.
Is it necessary to make a loop and go through all of form's rows?
Could anybody advise anything?
Thanks
percentage insted of qty on double click event I'm using the following:
Me.M1.Requery
If Me.FY > 0 Then
Me.M1 = Nz(Me.M1) / Me.FY
Else
Me.M1 = 0
End If
Me.M1.Format = "Percent"
Me.M1.Locked = True
The format is being changed into "Percent" for all form but the calculation
is done only for the selected row.
Is it necessary to make a loop and go through all of form's rows?
Could anybody advise anything?
Thanks