Jump to content
Sign in to follow this  
mmonsalveg

please help writing body email

Recommended Posts

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 ,

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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