I would like to add a sequential counter, %sk%, to the dictionary of an OI table. It is a simple, straightforward procedure in AREV, but I haven't discovered how to accomplish this in OI.
Any help would be appreciated.
Thanks,
Jim Jones
It turns out that you have to make a form with a Sequential Key counter field and then use it. Otherwise, you can create it in the system editor:
File - New Record. Filename DICT.YOUR_FILE_NAME
Field 1 enter 0
Save As %SK%.
Just as a bytheby .. the Sequential Key logic is much weaker in OI than it was in AREV .. frankly, it wasn't too hot there either. I have a routine that uses a phony key NEW and then does it properly, including checking for holes and pending records. It uses the %SK% dict item as its counter and allows for resetting using the=keystroke. Haven't converted this baby to OI yet.
Don Miller
C3 Inc.