Newbies Slapparr Posted August 6, 2008 Newbies Posted August 6, 2008 hello, I wonder if anyone can help - i want to create a script which goes through a set of account balances, identifies which account is overdrawn (ie with a number of less than 0) and then email the account holders - i have the email working, but the script is failing in that its not finding accounts that are overdrawn, its just pulling up all of them - any ideas? : i'm getting a bit confused! thankx
mr_vodka Posted August 6, 2008 Posted August 6, 2008 I think we need more info on your structure and script.
Newbies Slapparr Posted August 7, 2008 Author Newbies Posted August 7, 2008 thanks for coming back to me in terms of structure, do you mean the database structure (sorry if i'm being a little slow, although i've worked with filemaker for a while i'm a bit rusty on designing again now. The database itself is fairly simple with tables (accounts and transactions related by account ID) The script i've written so far is as follows: Perform find/Replace [Find: Accounts:Account balance<0; search operation: Find next; Search settings: Forward: Search across: All records/requests; Search within: All Fields] Go to Record/Request/Page [First] Loop Send Mail[TEXT] Go to Record/Request/Page [Next; Exit after last] End Loop Go to Layout [Original] Let me know if this isn't what you needed in terms of info thanks very much for assisting Lucinda
comment Posted August 7, 2008 Posted August 7, 2008 You need to use Perform Find[] - not Perform Find/Replace[].
Newbies Slapparr Posted August 8, 2008 Author Newbies Posted August 8, 2008 thanks very much, that now works - really really appreciate it, i was getting very frustrated with the whole thing! LUcinda :
Recommended Posts
This topic is 5952 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now