Jim, This is only an observation and I don't know if it will help or not. Your SET VAR vFormMode = 'Enter' should probably be SET VAR vFormMode TEXT = 'Enter'
In the old days CLEAR VAR would mean that it was still available but null (I think) but now CLEAR VAR means it is gone, blown away, never to be used again. I now use SET VAR vFormMode = NULL Jan -----Original Message----- From: Jim Belisle <[email protected]> To: [email protected] (RBASE-L Mailing List) Date: Wed, 15 Apr 2015 13:52:43 +0000 Subject: [RBASE-L] - Main application closing One part of the application we use in the office, is for order entry. This is a compiled application used throughout the company. The forms and reports reside within the DB. My order entry person mentioned an inconsistent problem to me yesterday. When entering orders in the order entry form, she can enter new customers using another form. Once the new customer is entered and the customer entry form is closed, the ID is then available to use in the ID field. She states that SOMETIMES after entering a new customer, when she goes to type in the new ID in the proper order entry field, the whole RBASE application closes. As I said, this happens just sometimes. At other times, everything works as it should. The button bringing up the customer entry form is simple enough. SET VAR vFormMode = 'Enter' ENTER USING KayParkDistInfo FOR 1 ROW PROPERTY DBComboBox_Distributor REFRESHLIST TRUE CLEAR VAR vFormMode RETURN Once the new ID is entered, the field on the order entry form is a DB Lookup Combo Box. Anyone have an blues clues? James Belisle Making Information Systems People Friendly Since 1990 [cid:[email protected] [mailto:image001.jpg%4001CD8CE2.FB048F50]]

