Opening A File On A Certain Record
Scott Walker
scottw1 at alltel.net
Tue Mar 1 09:18:35 PST 2005
----Original Message-----
From: filepro-list-bounces at lists.celestial.com
[mailto:filepro-list-bounces at lists.celestial.com] On Behalf Of Art Moore
Sent: Tuesday, March 01, 2005 11:58 AM
To: filePro List
Subject: Opening A File On A Certain Record
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
Art,
I may be misunderstanding what you want but....
If you use -xs "record_one"
and you have a selection set "record_one" where you specify @rn eq 1
would that not take you right to that record
Then use @Entsel trigger to put you in update mode with the the "update"
command
or perhaps use pushkey "U"
alternatively.....
Use the @Menu trigger to jump to record one with a lookup - to get you
to record one.
Regards,
ScottScott Walker
RAM Systems Corp
Ph: (704) 896-6549
Fx: (704) 896-7458
scottw1 at alltel.net
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list