Can I use "getnext -" in dclerk?
    Kenneth Brody 
    kenbrody at spamcop.net
       
    Fri Apr  5 07:53:53 PDT 2013
    
    
  
On 4/4/2013 10:53 PM, Jay Ashworth wrote:
> I'm going to have a file with one column empty, and I want the user to
> walk through all the records where the column is still empty and pick a
> value, from code, to fill it in with.
>
> When it's filled in, is there any easy way for me to make the code
> reposition the current record to the next available record in the file?
>
> Effectively, a getnext -?
>
> I only want to auto-reposition *if they've just chosen a value*, so I don't
> want to use something like -xia, which will take over the entire nav loop
> (if I remember it correctly; it has been a while).
ObAnswer:  "What happened when you tried it?"  :-)
Longer answer:
If you read my initial reply to the "get clerk to act like report" thread, 
you would see this:
> One possibility that comes to mind is to use the selection set to build a
> demand index.  Then use lookup-dash to traverse that index, printing the
> forms along the way.
(That is, "yes, you can use getnext-dash to go with the lookup-dash".)
However, what do you mean by "the next available record in the file"?
-- 
Kenneth Brody
    
    
More information about the Filepro-list
mailing list