From: Scott W. <swa...@my...> - 2001-10-31 20:23:15
|
I have just implemented this. It is not quite circulating yet, but will be very soon. The function to access fields from other records is called "fld" it takes 2 arguments both integers. The first specifies an offset from the current record ( so -1 is the record before it, and 1 is the record after it). the second argument is the field index, just as is used with the '%<int>' notation. in essence the %<n> is just a shorthand for (fld 0 <n>) in the new version of db. There are still some things to be worked out (e.g. when to recalculate these values) this is on the table, but not fully implemented. Date: Wed, 31 Oct 2001 04:43:33 -0800 (PST) From: Carson Wilcox <car...@fi...> To: db list <pil...@li...> Reply-To: car...@fi... Subject: [pilot-db-list] calculated field Can anyone explain how the calculated field works. It was my hope that it would allow adding a field from the previous record with a field in the current record, but that doesn't seem to be the case. Have I missed something? Thanks, Carson |