Field editing in QUICK

Fry, Mark Mark.Fry@COGNOS.com
Fri, 23 Feb 2001 08:19:34 -0500


Chris wrote:

> Wonderful !
> I never knew there was use for panel input outside
> of clunky IBM block mode terminals.
> I wish I knew what it is I don't know & need to know ;)
> Just one problem: I tried it on a big (nearly 2k)
> character field:
>
> field jcdescription & ; id 6
> 	hidden label 'Description: ' at 10,2 data at 10,16 &
> 	errorrecall &
> 	popup from 2,1 to 21,80 on data for 2,60
>
> It didn't do the popup, just the two display lines - can
> it popup too ?

Sorry Chris, but the answer's no :-(  Panel mode processing is designed to
accept values in several fields in a panel, then send the whole panel to the
server at the end.  That means that you don't get popups driven by the data
(imagine the scenario if you did - at the beginning of the panel, Quick
would have to open up the popups for all fields in the panel with a POPUP
clause at once, which no doubt would overwrite each other in terminal memory
and make a horrible mess...)

I should really have added it to the list of drawbacks when using BLOCK
TRANSFER, so thanks for pointing that out.

Still, look on the bright side - at least it's a sunny day in Manchester
today :-)

Cheers!

Mark Fry
Cognos Limited
email: Mark.Fry@Cognos.com



-----Original Message-----
From: Chris Sharman [mailto:Chris.Sharman@ccagroup.co.uk]
Sent: 23 February 2001 12:26
To: Mark.Fry@Cognos.COM
Cc: Chris.Sharman@ccagroup.co.uk; powerh-l@sphere.swau.edu
Subject: RE: Field editing in QUICK



>> We use Ctrl-B <enter> quite often. It would be nice
>> if there were a way to allow Quick to display existing
>> field contents without having to use this key sequence.
>> Anyone know of such a thing?
>
>It is possible to force Quick to display existing field contents without
>having to use <ctrl>-B by implementing Panel Input behaviour for each field
>for which this approach is needed.
>
>The technique is to code a numbered designer procedure for each field in
>which you need this behaviour, and as Dave Knox rightly pointed out, the
>syntax for this is:
>
>PROCEDURE DESIGNER <n>
>BEGIN
>  BLOCK TRANSFER
>  ACCEPT <your field>
>END



= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.