Opening A File On A Certain Record

Don I. Bush don at caffco.com
Tue Mar 1 09:23:36 PST 2005


try creating a selection table for with "@rn eq 1 " save it as say "record"
then add the following to your command line   -N -XS record

At 10:57 AM 3/1/2005, you wrote:
>Using filePro 5.0.5 on a portable with XP professional.
>
>I have half completed my goal of opening a certain file in update mode, on a
>certain record, with the cursor on a particular character, in a certain
>field.
>
>I have used the SCREEN screen,field,offset command to position the cursor
>where I want it to be.  I have done this by putting the SCREEN
>screen,field,offset command in the automatic table (it is the only line in
>that table).  The line in the auto table is:  SCREEN 1,1,"40"
>
>My problem is getting to the particular record I want to be at.  Right now
>my user menu command line reads:  \fp\rclerk fpimport -s1
>
>This brings me to the Choose Record Operation.  Where I press ENTER to
>choose RECORD NUMBER.  At ENTER RECORD NUMBER PROMPT I press ENTER again
>since I want to be at record #1.  Lastly I press U for UPDATE.  The cursor
>then goes to the correct field at the correct cursor location per the SCREEN
>screen,field,offset command.
>
>My question is how I avoid all of the steps in the above paragraph and from
>just pressing the user menu option go directly to the right cursor position
>(in this case position #40), in the right field (in this case field #1), in
>the right record (in this case record #1).
>
>Thank You In Advance,
>Art Moore
>
>
>_______________________________________________
>Filepro-list mailing list
>Filepro-list at lists.celestial.com
>http://mailman.celestial.com/mailman/listinfo/filepro-list

Don I. Bush
I.T. Manager
CCC Associates Inc
1-334-272-2140 x 271 




More information about the Filepro-list mailing list