Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5952 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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

Posted

I think we need more info on your structure and script.

  • Newbies
Posted

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

  • Newbies
Posted

thanks very much, that now works - really really appreciate it, i was getting very frustrated with the whole thing!

LUcinda :

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.