secondary file items

Pickering, John (NORBORD) PICKERIJ@norbord.com
Tue, 11 Apr 2000 10:25:41 -0400


Qdesign will generate item statements for all items in SECFILE which have
the same names as items in PRIMFILE of the format
>item field1 of secfile initial field1 of primfile fixed
Note the "fixed" at the end of that statement. Now if field1 of PRIMFILE is
zero then field1 of SECFILE will get set to zero by the put verb's
evaluation of the item statements. If this is incorrect then you can include
your own item statements for like-named items in SECFILE or you can put
noitems on the file statement for SECFILE to prevent the automatic
generation of item statements.

Hope this helps,
John Pickering
Toronto

> -----Original Message-----
> From:	mao@krifapost.dk [SMTP:mao@krifapost.dk]
> Sent:	Tuesday, April 11, 2000 5:08 AM
> To:	powerh-l@lists.swau.edu
> Subject:	
> 
> Hi
> 
> This is basic stuff but !!!  I have a little problem in a subscreen with a
> cluster.
> 
> file PRIMFILE primary occurs 5 nodelete noappend
>  access via UserKode using w-UserKode
> 
> ; 1 to 1
> file SECFILE secondary occurs with PRIMFILE
>    access via SERIAL-NUMBER using SERIAL-NUMBER of PRIMFILE
> 
>    item UserKode                  of SECFILE final w-UserKode
>    item SERIAL-NUMBER  of SECFILE final SERIAL-NUMBER  of PRIMFILE
> 
> cluster occurs with PRIMFILE
> Field1 of PRIMFILE
> Field2 of PRIMFILE
> Field3 of PRIMFILE
> Field1 of SECFILE
> Field2 of SECFILE
> cluster
> 
> Choosing line nmb the user can enter values in Field1 of SECFILE and
> Field2 of
> SECFILE.
> When the user has finished he press a key to update (PUSH UPDATE STAY) and
> then
> SECFILE are saved but the values Field1 of SECFILE and Field2 of SECFILE
> are
> being
> initialized to zero just before the put verb. The other values are being
> initialized by the item statements.
> 
> What do I do wrong?
> 
> Regards
> Mikael
> 
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.