Razzak: Thanks for the info but it is not what I am trying to do. What I am getting at is how to calculate a field for each row of data set using data from the row itself, the row above and the row below. Joe DB
Drake-Brockman Geoinfo Pty Ltd 25 Deague Court North Perth 6006 Tel / Fax 08 9328 4891 Mob 0427 525952 Email [EMAIL PROTECTED] --- 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. ================================================

