FORUM PLAN UPDATE: Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.
RE: Help with @prompt Kevin Pettitt 17.May.07 04:35 PM a Web browser Notes Client 7.0.2Windows XP
Giving the code a quick glance, it looks like you are being inconsistent with text and number data types. Specifically, the variable "done" evaluates to a number if true and text if false. Theoretically this shouldn't matter but you never know.
You also make reference to a field called "ScrapDollar" and another called "ScrapDollar_1", which may be a typo, not sure.