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

Using Send Mail / Data From Portal


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

Recommended Posts

Posted (edited)

Hi,

Here is what I have:

Click Here

What I am attempting to do with the script is send out information in the email body about the offender…name / dob / address etc.

The "Offenders Physical Address" is my problem area on the send mail script, the "Physical Address" comes from a related table (Offender_Address_Info) and is shown via a portal on my main layout.

The problem with the send mail script is that it is pulling the first address that is shown in the portal. I need it to show the last portal row entry. The "Physical Addresses" are shown and sorted by the date they were entered if that helps.

Is there a way for the address in the body of the email to show the last address which is shown in my portals?

Thanks,

James

Edited by Guest
Posted

You might want to just Sort the relationship itself by a date descending field, so the latest is on top. Then the relationship will get you the latest. Best to name the relationship with "_desc" or something, so you remember; I do :)-]

You will want a script and button to create new records for a portal sorted this way however.

Posted

Thanks,

I thought that was what I may have to do. Just wanted to see if there was a way to tell the calc to go to the last portal row.

Thanks again,

James

This topic is 6201 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.