>To All:
>
>How do you translate a fox 2.6 udf used in a validate clause in a GET statement to the vfp equivalent where the udf lets the user select an appropriate value in a BROWSE window and stuffs it back into the field via a KEYBOARD buffer?
Your valid event should look like this:
< 2.6 snippet without the Keyb comes here>
This.value=alias.field
return .t.
>and, is there somewhere a document listing the fox 2.6 coding techniques and their equivalent in vfp?
I think everybody found a proprietary way - I rolled my own as well. Sometimes I had to break the When and Valid code in two parts: the part which should check whether the user should be allowed to get focus into/out of the control remains in when and valid, but the other code which was there for different reasons (like refreshing other values, recalculating etc) got moved into .GotFocus/.LostFocus, or sometimes into form's custom methods, if it was called from other places as well.
Generally, the various code in Show clauses goes to Refresh, Message goes into .message. If you had any setup/cleanup, it should go to Load & Init / queryunload, destroy & release. YMMV - depending on what tricks you were using in 2.6.