• Subject: Re: Moving display file record into a data structure
  • From: booth@xxxxxxxxxxxx
  • Date: Wed, 25 Apr 2001 19:20:38 -0400


If the field names in the D1DS data structure are the same as the field names in the display D1  then there would be no reason to move them into the data structure.  EXFMT has done that already.

What I've done sometimes is to also name two Standalone fields (Freshdata & NewData) with a long field length, like 1024.  Then just before an Exfmt I can EVAL  FreshData = D1DS and immediately after the EXFMT I can EVAL NewData = D1DS.  You could use two data structures for before and after if you wanted to, instead.  If I am worried about a record being changed at another workstation and need to compare the data at Update time I'd also fill a standalone field named OriginalData at the time I chained for the original record.



 
_______________________
Booth Martin
Booth@MartinVT.com
http://www.MartinVT.com
_______________________



"Bob Luebbe" <bluebbe@LINOMA.COM>
Sent by: owner-midrange-l@midrange.com

04/25/2001 09:04 AM
Please respond to MIDRANGE-L

       
        To:        <MIDRANGE-L@midrange.com>
        cc:        
        Subject:        Moving display file record into a data structure

I cannot seem to move a display file record into a similar data structure without having to move the fields individually.  I've tried both a MOVE and an EVAL, such as EVAL   D1DS = D1, where D1DS is the data structure and D1 is the display file record format.  It will not allow a compile.
 
Any ideas?
 
Thanks,
 
Bob Luebbe


This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].