I have a subform that gives the maximum value in a field, [MaxOfDrwNum], that subform is on a form with a button, that when pushed I want it to check that the new DrwNum value is only 1 greater than the MaxDrwNum. I have the code below in the click properties of the button.
Obviously something is not right, probably some declarations or parenthesis or something.
If anyone could help me out with an example or something, it would cure my raging headache!!!!!!
Thanks,
Bsimm
If DrwNum.Value - SUBFRMDrwMax![MaxOfDrwNum].Value = 1 Then
Text14.Visible = True
Obviously something is not right, probably some declarations or parenthesis or something.
If anyone could help me out with an example or something, it would cure my raging headache!!!!!!
Thanks,
Bsimm
If DrwNum.Value - SUBFRMDrwMax![MaxOfDrwNum].Value = 1 Then
Text14.Visible = True