refresh field value

Johnson, Harold A EDUC:EX Harold.A.Johnson@gems1.gov.bc.ca
Wed, 9 Jun 2004 12:25:18 -0700


If the calling screen had the file defined as a PRIMARY and passed it as a
MASTER to the subscreen, the field would automatically get refreshed.  I
tried putting the calling screen file as a SECONDARY, but that didn't
refresh the field automatically.  Too bad.

I've had to put in extra "GET"s when doing this type of coding.  Not a big
deal, but sometimes needs a few tries to get it right.

cheers


-----Original Message-----
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com]On Behalf Of Deskin, Bob
Sent: 2004 June 9 12:10 PM
To: chuck.reinke; Lorry Litman
Cc: PowerHouse listserver (E-mail)
Subject: RE: refresh field value


Possibly. UNIQUE tells QUICK to re-evaluate the retrieval each time the
GET is executed. This may or may not have the desired effect in this
case. As well, it may affect other retrievals the wrong way. It's
something that would have to be tried.

Bob

-----Original Message-----
From: chuck.reinke [mailto:chuck.reinke@sbcglobal.net] 
Sent: June 9, 2004 12:02 PM
To: Deskin, Bob; Lorry Litman
Cc: PowerHouse listserver (E-mail)
Subject: Re: refresh field value


I've heard "It's what people know that ain't so that gets them in
trouble" but.. I seem to remember that using the UNIQUE option with a
GET verb could sometimes force a retrieval on a Reference file.

Chuck

----- Original Message ----- 
From: "Deskin, Bob" <Bob.Deskin@Cognos.COM>
To: "Lorry Litman" <LLitman@exchange.hsc.mb.ca>
Cc: "PowerHouse listserver (E-mail)" <powerh-l@lists.sowder.com>
Sent: Wednesday, June 09, 2004 8:10 AM
Subject: RE: refresh field value


> You may or may not get the "expected" results. Because of the 
> automatic retrieval, if you do a GET F (the reference file) and then 
> DISPLAY item OF F, QUICK may re-retrieve the original F record. This 
> assumes that you're still within the same screen transaction (i.e. 
> whatever QUICK started when the current entry or find sequence 
> started).
>
> If you're going to do GETs and DISPLAYs, I would suggest trying a 
> DESIGNER file. No, you won't get automatic retrieval, but you can 
> still do lookups and displays. And if you need a retrieval after a 
> FIND, use the POSTFIND procedure. By using a DESIGNER file, you won't 
> run into QUICK's assumptions about reference files.
>
> Bob Deskin
> Senior Product Manager, Application Development Tools, Cognos Inc. 
> bob.deskin@cognos.com (613) 738-1338 ext 7268 FAX: (613) 727-1178 3755

> Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON K1G 4K9 CANADA
>
> -----Original Message-----
> From: Lorry Litman [mailto:LLitman@exchange.hsc.mb.ca]
> Sent: June 9, 2004 10:56 AM
> To: Deskin, Bob
> Cc: PowerHouse listserver (E-mail)
> Subject: RE: refresh field value
>
>
> Is there any problems or anything to be aware of by doing a GET on the

> same file F in a numbered designer procedure? In other words, in the 
> designer procedure I would run screen B, GET file F, display field. 
> Thanx Lorry.
>
> -----Original Message-----
>
> This e-mail and/or any documents in this transmission is intended for 
> the address(s) only and may contain legally privileged or confidential

> information. Any unauthorized use, disclosure, distribution, copying 
> or dissemination is strictly prohibited. If you receive this 
> transmission in error, please notify the sender immediately and return

> the original.
>
>        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.
>
>
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = Mailing list: 
> powerh-l@lists.sowder.com
> Subscribe: "subscribe" in message body to
powerh-l-request@lists.sowder.com
> Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@lists.sowder.com
> http://lists.sowder.com/mailman/listinfo/powerh-l
> This list is closed, thus to post to the list you must be a 
> subscriber.
>




= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.sowder.com
Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.