also, this line:
NCSANum2.Visible = False And NCSANum2Percent.Visible = False
should be TWO lines:
NCSANum2.Visible = False
NCSANum2Percent.Visible = False
as you had it coded, it evaluates the TRUTH of the line (AND is a LOGICAL operator, and does not allow you to execute both parts as if they were separate statement - the line is NOT do part1 and then do part 2)
AW
Main Topics
Browse All Topics





by: Arthur_WoodPosted on 2005-07-08 at 06:23:55ID: 14396742
in what way is this code 'not working'? Have you set a breakpoint in the NCSANum1Percent__Exit routine, and then single stepped through the code?
rather than using
DoCmd.GoToControl "ncsanum2"
try:
ncsanum2.SetFocus
AW