Saving data to Lookup

Kenneth Brody kenbrody at bestweb.net
Mon Apr 3 08:49:14 PDT 2006


Quoting Shuman, Mike (Mon, 3 Apr 2006 10:31:07 -0500):

> System:  Windows XP Pro
> filePro Ver.  5.0.09DN9
>
> Situation:
>
> Input process does lookup into transaction file to obtain
> transaction number.  Process adds "1" to transaction
> number and writes it back to lookup file.
>
> User can break out of input process at any time without
> saving the record currently being keyed.  Lookup procedure
> has already incremented and written the next transaction
> number.
>
> Problem:
>
> How to make certain that the current record is being saved
> before writing the next transaction number back to the
> lookup file.
[...]

Don't assign the transaction number until you are ready to save the
transaction.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list