× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Move subfile left and right?
  • From: "Schlemme, Michael C." <mschlemme@xxxxxxxxxxx>
  • Date: Thu, 24 Aug 2000 14:18:31 -0500

Title: RE: Move subfile left and right?

How about ......... (just some ideas, not the entire logic..........)
 
  o A long work field to contain all the data you need on one line
  o An 80 (or whatever) byte subfile field to contain a part of the long work field

  In program

    StartingValue = 1
    LongWorkField = '    123.47-        Department name       20:25:05       xxxxxxxxooooooooeeeeeeee        
                              99995555555blahblahblah
    SflField = %SubSt(LongWorkField : StartingValue : %Size(SflField))
    Write subfile record

    If WindowRightKey
      If StartingValue + %Size(SflSize) <= %Size(LongWorkField)
        StartingValue = StartingValue + %Size(SflField)
      Else
        Message = 'Can''t window right'

     Same idea for Window left key.

     Could window right/left based on cursor/subfile record position or for all subfile records on screen.


How's this for a starting idea ???????????

 
    

  On display file
     SflRecord = %SubStr(LongWorkField : StartingValue : 80)


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.