Add new record - browse problem

Laura Brody laura at hvcomputer.com
Wed Aug 25 10:09:47 PDT 2010


Quoting Richard Kreiss <rkreiss at verizon.net>:

> I have an @key function which checks for a record before displaying a
> browse.  If the record doesn't exist, the user is prompted to add the first
> record.  If (Y)es then a system command takes them to the file to add a
> record.
>
> My problem is on return, I have:
>
> If:
> Then: lv="CC"&master_code&"99"; sleep "500";goto show_br
>
> Lv is the lookup value with the display in descending order.
>
> When the browse is executed on return from the goto,  I get the no record
> found message. The program then ends.  When the @key function is then
> initiated again, the new record appears.
>
> Any suggestion on how to eliminate this problem would be greatly
> appreciated.

Have you tried to put a WRITE at the end of the system
command which adds the record?


--
Laura Brody
+------------- Hudson Valley Computer Associates, Inc ----------+
| PO Box 859; 120 Sixth Street   http://www.hvcomputer.com      |
| Verplanck, NY 10596-0859       Voice mail: (914) 739-5004     |
+------ PC repair locally, filePro programming globally --------+


More information about the Filepro-list mailing list