Refresh records

shulbert@littlejohnfrazer.com shulbert@littlejohnfrazer.com
Fri, 3 May 2002 16:21:41 +0100


markus,
you don't want to display the records again without finding them again: this is a really bad idea.
what you could do is make the find procedure not prompt for the values again.
try using temps to prompt for the key values, making them reset at startup.
use a flag to make the the procedure path code conditional.
off the top of my head:

<code>
screen scrap

temp t'key1 reset at startup

temp t'flag reset at startup

file afile
access via key1 using t'key1 request t'key1

field t'key1

procedure path
begin
  if t'flag = 0
  then begin
    ;<do default path processing>
    ...
    end
  end

procedure postfind
let t'flag = 1

procedure designer rset
begin
  let t'flag = 0
  push find
  end

build
</code>

i hope this helps,
regards,
stephen.


 -----Original Message-----
From: 	markus.grossrieder@alba-systems.com [mailto:markus.grossrieder@alba-systems.com] Sent:	Friday, May 03, 2002 4:09 PM
To:	powerh-l@lists.swau.edu
Subject:	Re: Refresh records

Thanks Bob and  Joe,

ok, I'll try it the other way round:
After having found my record by entering 3 values and doing an update in a QTP,
I'm looking for a way to refresh the data WITHOUT doing my FIND again. I don't
mind to enter F or to start another designer procedure, but I don't want to
enter the same search values again, just ... a refresh of the data in Quick's
buffer and display them (like, say, in Access, Ctrl-F9 ... ok, it's a bad
example, but you get the picture).
I don't know for example if I can do something with the MISSING and DISPLAYED
parameters in the FOR construct. If it's not possible: it would be a nice
feature (Bob, Conrad, Carol, Christina, Allison et. all.)

Kind regards,
Markus

----- Original Message -----
From: "Markus Grossrieder" <markus.grossrieder@alba-systems.com>
To: "PowerHouse List (E-mail)" <powerh-l@lists.swau.edu>
Sent: Thursday, May 02, 2002 5:55 PM
Subject: Refresh records


> Hi list,
>
> is there a way to refresh records shown in a Quick screen, after they are
> updated by an other program (say, a QTP), without doing a find again ?
>
> (Powerhouse  7.10.G3, OpenVMS V7.2-1)
>
> TIA, regards,
>
> Markus
>


= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" 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.




The information contained in this communication is confidential and may
be legally privileged. It is intended solely for the use of the
individual or entity to whom it is addressed and others authorised to
receive it.  If you are not the intended recipient you are hereby
notified that any disclosure, copying, distribution or taking of any
action in reliance on the contents of this information is strictly
prohibited and may be unlawful.

Littlejohn Frazer reserves the right to monitor the content of any
message sent to or from littlejohnfrazer.com and its associate domains,
fmi-litjon.co.uk and litjon.co.uk

A list of partners may be inspected at 1 Park Place, Canary Wharf,
London, E14 4HJ

Registered to carry on audit work by the Institute of Chartered
Accountants in England & Wales, and authorised by the Financial
Services Authority to provide financial services