fieldmarking question?

Hamilton, Allison Allison.Hamilton@Cognos.COM
Thu, 15 May 2003 15:17:13 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C31B16.971370D0
Content-Type: text/plain;
	charset="iso-8859-1"

I don't know if it would help, but there is a MARK/NOMARK option on the
FIELD statement, that might also do what you want.

-----Original Message-----
From: Thomson, Martyn EDUC:EX [mailto:Martyn.Thomson@gems1.gov.bc.ca]
Sent: Thursday, May 15, 2003 1:15 PM
To: POWERHOUSE NEW (E-mail)
Subject: fieldmarking question?


I have a screen that uses the fieldmark action - 

actionmenu label "Modify" action fieldmark menukey "M" 

It enables the client to arrow from label to label and then hit ENTER to
access the field they wish to change.
If the field statement has the "nochange" option, they get the message
"Can't change the specified field(s)".
My question is - is there any way I can make access to a field conditional
in this scenario (i.e "nochange if..."
aka "entry if")?
I can't see a field option or anywhere I could add code to intercept this.
There's no generated modify procedure 
I could tweak. I could put a test in the input procedure, but I want to make
the field appear unavailable rather 
than generate an error message after the event.
Is this at all possible?? is there an alternative approach?
The only alternative I see and want to avoid is to move everything but the
key input field to a subscreen and 
have 2 lookalike versions of the subscreen - one for each result of the
conditional test.
Martyn Thomson
7.10.G1 on OpenVMS AXP v7.2-1, Oracle Rdb V7.0-5.
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

------_=_NextPart_001_01C31B16.971370D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.89">
<TITLE>RE: fieldmarking question?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I don't know if it would help, but there is a =
MARK/NOMARK option on the FIELD statement, that might also do what you =
want.</FONT></P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Thomson, Martyn EDUC:EX [<A =
HREF=3D"mailto:Martyn.Thomson@gems1.gov.bc.ca">mailto:Martyn.Thomson@gem=
s1.gov.bc.ca</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, May 15, 2003 1:15 PM</FONT>
<BR><FONT SIZE=3D2>To: POWERHOUSE NEW (E-mail)</FONT>
<BR><FONT SIZE=3D2>Subject: fieldmarking question?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>I have a screen that uses the fieldmark action - =
</FONT>
</P>

<P><FONT SIZE=3D2>actionmenu label &quot;Modify&quot; action fieldmark =
menukey &quot;M&quot; </FONT>
</P>

<P><FONT SIZE=3D2>It enables the client to arrow from label to label =
and then hit ENTER to</FONT>
<BR><FONT SIZE=3D2>access the field they wish to change.</FONT>
<BR><FONT SIZE=3D2>If the field statement has the &quot;nochange&quot; =
option, they get the message</FONT>
<BR><FONT SIZE=3D2>&quot;Can't change the specified =
field(s)&quot;.</FONT>
<BR><FONT SIZE=3D2>My question is - is there any way I can make access =
to a field conditional</FONT>
<BR><FONT SIZE=3D2>in this scenario (i.e &quot;nochange =
if...&quot;</FONT>
<BR><FONT SIZE=3D2>aka &quot;entry if&quot;)?</FONT>
<BR><FONT SIZE=3D2>I can't see a field option or anywhere I could add =
code to intercept this.</FONT>
<BR><FONT SIZE=3D2>There's no generated modify procedure </FONT>
<BR><FONT SIZE=3D2>I could tweak. I could put a test in the input =
procedure, but I want to make</FONT>
<BR><FONT SIZE=3D2>the field appear unavailable rather </FONT>
<BR><FONT SIZE=3D2>than generate an error message after the =
event.</FONT>
<BR><FONT SIZE=3D2>Is this at all possible?? is there an alternative =
approach?</FONT>
<BR><FONT SIZE=3D2>The only alternative I see and want to avoid is to =
move everything but the</FONT>
<BR><FONT SIZE=3D2>key input field to a subscreen and </FONT>
<BR><FONT SIZE=3D2>have 2 lookalike versions of the subscreen - one for =
each result of the</FONT>
<BR><FONT SIZE=3D2>conditional test.</FONT>
<BR><FONT SIZE=3D2>Martyn Thomson</FONT>
<BR><FONT SIZE=3D2>7.10.G1 on OpenVMS AXP v7.2-1, Oracle Rdb =
V7.0-5.</FONT>
<BR><FONT SIZE=3D2>=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =
=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D</FONT>
<BR><FONT SIZE=3D2>Mailing list: powerh-l@lists.swau.edu</FONT>
<BR><FONT SIZE=3D2>Subscribe: &quot;subscribe&quot; in message body to =
powerh-l-request@lists.swau.edu</FONT>
<BR><FONT SIZE=3D2>Unsubscribe: &quot;unsubscribe =
&lt;password&gt;&quot; in message body to =
powerh-l-request@lists.swau.edu</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://lists.swau.edu/mailman/listinfo/powerh-l" =
TARGET=3D"_blank">http://lists.swau.edu/mailman/listinfo/powerh-l</A></F=
ONT>
<BR><FONT SIZE=3D2>This list is closed, thus to post to the list you =
must be a subscriber.</FONT>
</P>

<P><FONT SIZE=3D2>This message may contain privileged and/or =
confidential information.&nbsp; If you have received this e-mail in =
error or are not the intended recipient, you may not use, copy, =
disseminate or distribute it; do not open any attachments, delete it =
immediately from your system and notify the sender promptly by e-mail =
that you have done so.&nbsp; Thank you.</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C31B16.971370D0--