Have a database I have been working on for some time and have posted several questions on here recently. Have one more I am not sure whether it is possible or not. In the database there is an office record and also a user record, these are tied together via their server ID.
What I am checking to see here is on the office record there is a button the office clicks to say that a step is done, the code is below. What I have been asked to try and work in here is when the office clicks the button to certify that the step is done that it scans all the user records for that office and validates that the value for a particular field is not empty. If there is one user record which has this field blank then it should fail and alert them that they did not respond to one or more of the questions on the user record.
Basically they are supposed to sign off on each record that they have the users computer and then on the one office record they certify that all are ready to be picked up. Problem is they are not respond to the certification on the user records and clicking the overall certification button on the office record. This is causing all sorts of headaches.
@If(accept3 = "No" ;
@Prompt([Ok];"Alert";"You must accept all terms and conditions. You have responded No to the first condition, please review and press the Accept and Submit button again if you are willing to accept all of the conditions specified.");
@If(@Prompt([YesNo];"Reclamation Submission";"This form is about to be sent to initiate the reclamation process. Are you sure you would like to send it now?");"";@Return(""));
FIELD status:="Ready for Reclamation";
CopyTo :="Field Technology";
Subject := office_num_adjusted+ " says they are ready for reclamation. ";
Remark := office_num_adjusted+ " is ready for reclamation. Please click on the following link to review and approve the information.";
@MailSend(SendTo; CopyTo; ""; Subject; Remark; "";[IncludeDoclink]);