Arev Alt-O Alt-C equiv (None Specified)
At 20 DEC 1999 02:50:08AM Barry Stevens wrote:
Is there any code around to produce the same functionality the Arev f Alt+O (copy data from prev field) & Alt+C (copy prev record) in OI.
I found out my Arev to OI Client uses it heaps.
Barry
At 20 DEC 1999 03:55AM Oystein Reigem wrote:
Barry,
I certainly don't believe there is any in-built functionality for this in OI.
I wrote my own code to copy previous record, and also to copy from any of the last ten records written. My system remembers the last ten keys for each data table and each user (in the WRITE events for all relevant data entry windows). The keys are stored in a dedicated log table. I could have kept them in common, but with a table there's the advantage that the app remembers them from session to session.
I don't know (or remember) Arev that well. What do you mean by previous field? Do you mean the same field from the previous record? I programmed that too, in the same functions that copy previous record.
Or do you mean the previous field in the same window? In case - previous in tab order, or the previous field that had focus?
If I had to program any of the above today I'd consider promoted handlers. But I did my programming a couple of years ago, so my implementation is more mundane.
- Oystein -
At 20 DEC 1999 03:17PM Barry Stevens wrote:
]]the same field from the previous record«
Thanks for the reply