James, Stephen, and Charles, Thanks for the suggestions. I will be looking at simplifying the lines. I also remember statements about tightening the syntax. It was just odd why it worked for so long then did not. Not complaining, just trying to understand before I explain the changes to the next development group at work. I will be adding () around most of the .var items that are currently being used. Other than that, the programs just hum along...most of the time.
Tom Frederick Elm City Center 1314 W Walnut Jacksonville, IL 62650 Off - 217-245-9504 Fax - 217-245-2350 Email - [EMAIL PROTECTED] Web - www.elmcity.org -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of James Bentley Sent: Friday, February 15, 2008 12:35 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Variables and () Tom, I seem to remember that some time in the past RBase began to tighten the syntax for an expression in FORMS/LABELS/REPORTS involving a .var requires that the expression be enclosed in parenthesis. Also, see a later email about simplifying your expressions. --- Tom Frederick <[EMAIL PROTECTED]> wrote: > I have run into a situation I can easily fix but do not > understand what > happened. Using V8 with the most recent updates. In my > examples below > ZID is an integer ID# and .vZID is the integer variable > version. I have > used these examples for months. They have always worked and > both follow > the examples in the manuals. > > > > Example 1 : COMPUTE ZXYZ AS COUNT ZID FROM Z_Identity_Info > WHERE ZID = > .vZID AND ZResid = 'Home' > > > > Example 2 (form variables) : > > 1 : INTEGER vZID = ZID > > 2 : TEXT vZFName = ZFName IN Z_Identity_Info WHERE ZID = > .vZID > > 3 : TEXT vZLName = ZLName IN Z_Identity_Info WHERE ZID = > .vZID > > 4 : TEXT vZName = (.vZFName & .vZLName) > > > > In the last week, these same lines stopped working until I > changed .vZID > to (.vZID) this morning. Once the changes were made the > programs took > off and ran like usual. The Valentines update was installed > and when > (.vZID) is returned to .vZID, it stops working again. This no > real > problem (except the editing to be done), but I do not > understand what > might have changed. If this is simply a tightening of options > then OK. > Is there something else I just do not see? > > > > Tom Frederick > > Elm City Center > > 1314 W Walnut > > Jacksonville, IL 62650 > > Off - 217-245-9504 > > Fax - 217-245-2350 > > Email - [EMAIL PROTECTED] > > Web - www.elmcity.org > > > > Jim Bentley American Celiac Society [EMAIL PROTECTED] tel: 1-504-737-3293 ________________________________________________________________________ ____________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping

