Hey, I'm facing an issue here. I am trying to convert two form in a single one, everthing is just the same excep that the keyfield is diferent length
the first one is 15 chars and the second one is 17.
I don't have problems if the value is keyed, or when the value is scan and reach 17 chars. the problem I have is because certain things:
1. The Scanner doesn't have a carriage return automatic and.... won't have. that is not an option.
2. The value must be scan, it can be keyed but the user won't do that since he has a barcode.
so the question here is: how do I fire the right method or UDF depending on the value if it is 15 or 17?
I can't do it in the lost focus because if it is 15 this won't fire the event. can't do it in the key press, because may be when the text reach 15 the method will fire even if the user meant to key 17.
any sugestion?
.......
DO WHILE .T.
ME.Work()
ENDDO