Clear Var removes the variable from memory completely as always. > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of jan > johansen > Sent: Wednesday, April 15, 2015 11:23 AM > To: RBASE-L Mailing List > Subject: [RBASE-L] - Re: Main application closing > > 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> ] >
--- RBASE-L ================================================ TO POST A MESSAGE TO ALL MEMBERS: Send a plain text email to [email protected] (Don't use any of these words as your Subject: INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP) ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [email protected] In the message SUBJECT, put just one word: INTRO ================================================ TO UNSUBSCRIBE: Send a plain text email to [email protected] In the message SUBJECT, put just one word: UNSUBSCRIBE ================================================ TO SEARCH ARCHIVES: Send a plain text email to [email protected] In the message SUBJECT, put just one word: SEARCH-n (where n is the number of days). In the message body, place any text to search for. ================================================

