mmonsalveg Posted August 4, 2012 Posted August 4, 2012 Hello , i need your help , i would like to know how to write a body email that shows me uncompleted task of the whole database ? complete=0 ( this is uncomplete task) complete=1 ( this is complete task) i dont know how to make a search and put the result on the body , this send mail script is going to be used in Filemaker server as a schedule script . please let me know a solution , thank you ,
eos Posted August 4, 2012 Posted August 4, 2012 Write a script along the lines of Go to Layout [ MyLayout ; MyTableOccurrence ] Enter Find Mode Set Field ( MyTable::status ; 1 ) Set Error Capture [ On ] Perform Find Set Variable [ $mailBody ; Let ( [ all = Get ( TotalRecordCount ) ; completed = Get ( FoundCount ) ; noncompleted = all - completed ] ; all & " records, " & noncompleted & " not completed, (" & completed & " completed)." ) ] Then use $mailBody as the value for the e-mail message parameter.
Recommended Posts
This topic is 4563 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