I realize this should be simple to do, but I have reveiwed the help manual and called RT for help, but still to no avail.
What I am trying to do is when the user gets to a position on the window, lets say it is the field called Debit, which is numeric only, then if the user presses any key to change the data, then I want to "wipe out" the existing data that is currently there, and keep the data the user enters.
Any help is appreciated….
Use this code on the GOTFOCUS event of the control:
*
val=set_property(CtrlEntId,'SELECTION',1 :@FM: 65534)
RETURN 0
JB
Thanks JB…It works like a champ. When I called RT, and asked them the question, they responded with something close to your code, but
they said it was a selection property, and I said it should be a set_property, anyway..they could not answer, so again Thanks…
Slight proviso - this might stop any default from working unless you Return 1.
World Leaders in all things RevSoft