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

Changing Entry type in Screens via programming (AREV Specific)

At 13 NOV 2007 05:58:40AM Chang Lee Churn wrote:

I know the title looks a bit confusing.

Let me explain to you what I'm intending to do now.

Recently, the end users requested the above item.

Let's say we have 3 fields now:

1) Field ABC.

2) Field DEF.

3) Field FF1.

The requirement now is that once

Field ABC is same as Field DEF,

a value must be input into Field FF1.

in other cases, Field FF1 is not REQUIRED.

My idea now is that once

the above condition is fulfilled,

I would like to change Field FF1's ENTRY TYPE to REQUIRED.

Is that possible with AREV 2.01?

or you guys have a better suggestion?

Thanks


At 13 NOV 2007 06:20AM Chang Lee Churn wrote:

in other cases, Field FF1 is not REQUIRED. «–

what I meant here is that for other conditions,

Field FF1 input is not required.


At 13 NOV 2007 08:55AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Is CHANGE_TYPE in that release? See http://www.sprezzatura.com/revmedia/v3i4a1.htm

The Sprezzatura Group

World leaders in all things RevSoft


At 13 NOV 2007 06:14PM Karen Oland wrote:

if change_type doesn't work in that version, I'd use a pre-save subroutine to do your comparison (it can also display any error messages and move the cursor to the missing field, as well as blank any out if that is also part of your requirement logic).


At 14 NOV 2007 10:48AM Dave Harmacek wrote:

In the Post Prompt process you can change the Type of a prompt.

requires Arev Common

You must determine the dimensioned position of the affected prompt in the W array (Arev 3.12 WC_W%). The field position 18 is the Prompt Value Entry Type (Arev 3.12 MT_LCPOSITIONS ET$) which can be null for optional, "R" for required, "P" for protected.

Thus to Protect prompt number 19 from the Post Prompt:

W(19)=P"

Dave

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/550fc58e88cdd43885257392003c4db7.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1