Browse lookup

GCC Consulting gcc at optonline.net
Fri Dec 17 06:06:26 PST 2004


TOP Post

As I stated in my initial post, when the customer code is entered as check is
done for open invoices.  An error message pops up warning of no open items for
this customer.  This occurs prior to the browse being executed.

The break key is there to allow the clerk to cancel this transaction. I do need
to place a control on this function so that any records created are deleted if
the transaction is cancelled.


Richard

 

> 
> >
> > >  97  -------   -   -   -   -   -   -   -   -   -   -   -   -
> > -   -   -   -
> > >        â—„ If:         @sk="BRKY" or  @bk = "X"
> > >        Then:         GOTO is_exit
> >
> > This will check for breaking out or pressing 'X', but it 
> doesn't check 
> > for the lookup having failed because there were no records.  Simply 
> > add "or not pros".  (Actually, in that case, the check for BRKY is 
> > redundant.)
> >
> > --
> > +-------------------------+--------------------+------------------
> > -----------+
> > | Kenneth J. Brody        | www.hvcomputer.com |
> 
> Just curious, why is the test for @BRKY redundant here??  I 
> guess you are saying that if there are no records found" then 
> that will happen without giving the chance for the user to 
> press BREAK... but what of the case Richard is talking about, 
> where there first is/are a record/s and then because they are 
> deleted there are none... woldn't you need the test for BREAK 
> to cover all cases?  He won't know if there are NO records 
> ahead of time...  What am I missing about your comment? Are 
> you saying he could take the test for BREAK away entirely? 
> This sounds like it would disaallow dealing with the BREAK key.
> 
> John
> 
> _______________________________________________
> 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