Doug,

Try switching your order. I mean the first thing you have is a setfocus and 
then you
move away. So maybe try.

IF vFormMode = 'Edit' THEN
  PROPERTY cidProcNoTxt ENABLED 'False'
  PROPERTY cidPartNo ENABLED 'False'
  PROPERTY cidvCusPrint SET_FOCUS 'True'
ELSE
  PROPERTY cidProcNoTxt ENABLED 'TRUE'
  PROPERTY cidPartNo ENABLED 'TRUE'
  PROPERTY cidvCusPrint SET_FOCUS 'True'
ENDIF

Jan

Reply via email to