Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 10 JAN 1998 04:00:37PM Jim Dierking wrote:

I would like to create an F2 option at a prompt to

return a non-key sequence number. Can anyone suggest

how the %s% value could be returned from a symbolic field

called at the option prompt. TIA, Jim Dierking


At 10 JAN 1998 05:02PM Andrew P McAuley wrote:

I'm at home at the moment so have no references to hand (heresy) but I suspect you call function/subroutine DEFAULT and just pass it %S%. If noone else chips in I'll check when I get to the office.

[email protected]

Sprezzatura Ltd

World Leaders in all things RevSoft


At 10 JAN 1998 09:03PM Curt Putnam wrote:

Andrew is correct. At the default property prompt, simply select the non-key sequence counter


At 11 JAN 1998 06:04AM Andrew P McAuley wrote:

OK had the chance to check with the bible, RevMedia FKB and it says

When programming our own defaults or attempting to control window flow more completely than is usual, it can be necessary to gain access to the default for a new record. Generally this is a simple process but in the case of things like %SK% can be a little more complex.

To get this information in the same way as the system, all that is needed is to call the system function DEFAULT passing it the kind of default that is required. Thus in the example given above we could

        DECLARE FUNCTION DEFAULT
        NEXT.NO=DEFAULT("%SK%")

(Volume 1, Issue 8, Page 10)

Page 10 DEFAULT - note that to use DEFAULT the program declaring default must be a routine including WINDOW_COMMON%. Further, additional parameters may need to be loaded. EG for %SK% to work both @DICT and WC_SRC_FILE% must be loaded correctly.

[email protected]

Sprezzatura Ltd

World Leaders in all things RevSoft

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/33719e7b94602c0785256588007369ef.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1