Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!world!ralph From: ralph@world.std.com (Ralph Lombreglia) Newsgroups: comp.sys.mac.hypercard Subject: Re: Help putting sum of field in another Summary: You need to advance through cards upon iterations of loop. Message-ID: <1991Jan8.132710.29068@world.std.com> Date: 8 Jan 91 13:27:10 GMT References: <1991Jan8.005708.5908@macc.wisc.edu> Distribution: na Organization: The World @ Software Tool & Die Lines: 13 From article 2867: >repeat with i = 1 to the number of cards in bg id 2763 >add bg field "VALUE" to total You need to tell HyperCard which card you want to work with on each iteration. The second line above should read: add field "VALUE" of card i to total ("field") implies background field in HyperCard). Ralph Lombreglia Internet: ralph@world.std.com MCI Mail: rlombreglia Bix: rlombreglia