Jump to content

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

Recommended Posts

Posted

Hi,

Can anyone help with the following script?

The script is meant to generate an email to the people in the database who are filed under Work Camp, whose return date (Hjemkomstdato) is earlier than today, i.e., have already returned, and who have not yet given a rating. The script is in the attached picture:

post-87681-0-34841100-1332502901_thumb.j

The details for the Contrained Set script are:

post-87681-0-29428700-1332502922_thumb.j

In full, the script is meant to do the following:

1. Find the people in the database filed under Work Camp (from about 10 possibilities)

2. Find those whose return date is earlier than today's date.

3. Detect if they have already filled out the rating system (if that's the case there will be a date in the appropriate box, so it should detect if that box is empty).

4. If needed, generate an email with a link)

5. fill out today's date in the appropriate box.

The problem seems to be with steps 1 and 2, as 3-5 work fine.

Thanks.

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