I have the following line in the event procedure:
If Me.Text67 = 30 + n Then
[Text131] = 1 + (n / 30)
End if
Me.Text67 is function for no of days for a range of period which can be any number that is 30days(1 month)+ n (variable that represent no of days)
Me.Text131 is a function to convert the no of days to decimalized value i.e if Me.Text67=45 days (30+n where n=15),then [Text131]=1+(n/30) that is 1+(15/30)=1.5
How do I put this in code?
If Me.Text67 = 30 + n Then
[Text131] = 1 + (n / 30)
End if
Me.Text67 is function for no of days for a range of period which can be any number that is 30days(1 month)+ n (variable that represent no of days)
Me.Text131 is a function to convert the no of days to decimalized value i.e if Me.Text67=45 days (30+n where n=15),then [Text131]=1+(n/30) that is 1+(15/30)=1.5
How do I put this in code?