Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!zazen!news From: jbnash@vms.macc.wisc.edu (John B. Nash) Newsgroups: comp.sys.mac.hypercard Subject: Help tracking calculations in a field Message-ID: <1991Jan13.073031.23407@macc.wisc.edu> Date: 13 Jan 91 07:26:30 GMT Sender: news@macc.wisc.edu (USENET News System) Distribution: usa Organization: University of Wisconsin Academic Computing Center I have two fields and one button. The Price field has one line and Lines: 26 contains a number (a price of an item). The Tracking field tracks the price from month to month by showing the price over the last 12 months in a 12 line non-scrolling field. When I push the Calculate button, a new price appears in the Price field (based on some script that I have no problem with) and the most recent price from that field goes to line one of the Tracking field, the next most recent price that was in line one goes to line two, line two price moves to three, three to four, etc. Right now, when I say: put line 1 of cd fld "Price" into line one of cd fld "Tracking" put line 1 of cd fld "Tracking" into line 2 of cd fld "Tracking" put line 2 of cd fld "Tracking" into line 3 of cd fld "Tracking" put line 3 of cd fld "Tracking" into line 4 of cd fld "Tracking" etc.. I get the same price in every line of the field "Tracking" I now understand why, but don't know how to remedy the situation. Any suggestions? Basically, when the new price is calculated, I want to view in the Tracking field how the price has fluctuated over the last twelve times I've pushed the Calculation button. Thanks! _______________________________________________________________________________ | J. B. NASH Internet > jbnash@vms.macc.wisc.edu | | University of Bitnet > jbnash@wiscmac2 | | Wisconsin DECnet > wircs2::jbnash | | Madison from CompuServe > internet:jbnash@vms.macc.wisc.edu | -------------------------------------------------------------------------------