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 16 JUN 2000 10:58:42AM Matt Sorrell wrote:

I'm having problems remembering how to do something, or maybe it just can't be done.

I have a prompt that calls my subroutine for validation. In the sub, I do the various validations and if an illegal value has been entered, I display a message. BTW, this is only when the user is changing the value. After I display the message, I set @ANS=WC_IS_ORIG%, set STATUS()=3 and have played with various combinations of WC_RESET% and WC_DISPLAY_ACTION%. My goal is to disallow the change and restore the value to WC_IS_ORIG%.

The change is being disallowed, and the cursor is staying in the prompt, but the original value is not being restored.

Can this be done, or am I living a pipe dream here?

msorrel@greyhound.com


At 16 JUN 2000 11:54AM Don Miller - C3 Inc. wrote:

Matt

I think you should set WC_IS% to WC_IS_ORIG%. DISPLAY.ACTION should be 5 (I think ..). @ANS isn't available to the prompt right after validation.

HTH

Don Miller

C3 Inc.


At 16 JUN 2000 02:24PM Matt Sorrell wrote:

Thanks for the help.

I changed it to set WC_IS% and also filled @Data with the F4 keystroke.

This appears to be working.

msorrel@greyhound.com

View this thread on the forum...

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