Quick Question

Ronald W. Olenic olenicr@dteenergy.com
Tue, 27 Jul 1999 14:47:11 -0400


This is a multi-part message in MIME format.
--------------DE911100447F02594978FBB0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello Arnone,

Accessing a subfile in QUICK is the same as accessing a flat file from
the dictionary
: QUIZ

>define big_field char*500 = "This is a big field"
>set subfile name mysub keep
>report  summary all
> go
> exit

: QDESIGN

>SCREEN X
>FILE *mysub

...

You will be able to access all of the fields in the subfile dictionary.

Once the screen is compiled, you can not change the subfile without
recompiling the screen, and QUICK can only access subfiles not create
them.

As to breaking up a record into smaller parts, that would be much easier
if you could do that in the subfile.  Otherwise use substring extraction
with either temporary items or defined items.

TEMPORARY T_item1 char*100 = big_field[1:100]

DEFINE D_item1 char*100 = big_field[1:100]

Hope that helps

Ron Olenic

The opinions expressed are my own and are subject to change or complete
reversal without notice.

"Arnone, Anthony" wrote:
> 
> Hello again,
> 
>          I need to create a quick screen to update data. The problem is that
> the file is a subfile which is currently defined as one record for a length
> of cha*500, so within the screen I need to break the record up into
> different items and then do a lookup on one of the items and then update the
> record. I can't seem to find anything on subfiles with quick in the manuals,
> so any help would be appreciated. (hp3000, MPE/iX, ver8.19)
> 
>                                        R/S
>                                 Anthony Arnone
> 
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
> Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
> powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
> This list is closed, thus to post to the list, you must be a subscriber.
--------------DE911100447F02594978FBB0
Content-Type: text/x-vcard; charset=us-ascii;
 name="olenicr.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Ronald W. Olenic
Content-Disposition: attachment;
 filename="olenicr.vcf"

begin:vcard 
n:Olenic;Ronald
x-mozilla-html:TRUE
org:Compuware
adr:;;;;;;
version:2.1
email;internet:ronolenic@bigfoot.com
title:Senior Systems Analyst
note;quoted-printable:The opinions expressed are my own,=0D=0A and as such are subject to change or  even complete reversal =0D=0Awithout notice=0D=0A
fn:Ronald Olenic
end:vcard

--------------DE911100447F02594978FBB0--

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