adding a single record from command line

Jeff Harrison jeffaharrison at yahoo.com
Mon Oct 25 11:22:40 PDT 2010


--- On Mon, 10/25/10, Bob Simcoe <bob at midcityoffice.com> wrote:

> From: Bob Simcoe <bob at midcityoffice.com>
> Subject: RE: adding a single record from command line
> To: "scooter6 at gmail.com" <scooter6 at gmail.com>, "filePro Mailing List" <filepro-list at lists.celestial.com>
> Date: Monday, October 25, 2010, 10:35 AM
> \fp\dexpand filename 1
> 
> Bob Simcoe
> 
 
This just adds a "deleted" record.  If the user needs the record in order to run output processing upon it - then this will not be enough.  I believe the following (untested) should work however.  You would need a screen zero in this example with field 1 as the first field in the cursor path.

\fp\dclerk filename -s0 -z addone -y none -xa

Where addone is a processing table containing the following:

top::exit:
@wef1:::
::write:
::goto top:

Its probably easier to just do a free record lookup, then write to it - from a filepro file that you know has some records in it.

Jeff Harrison
jeffaharrison at yahoo.com
Author of JHImport and JHExport.




      


More information about the Filepro-list mailing list