Bruce,
Thanks for looking at this. First, there is a button called Users on the web server main screen. Use this to add a user, username goes in the email field and password in the password field. I used admin/ admin.
Log in and then click on Specimen in the first menu. Enter any data you wish here. Note the Pathology Complete check box defaults to No. This is of course the parent file. Next, go to the Pathology tab. Insert a new record, entering any data you wish. The idea here is for a Pathologist to enter data in multiple sittings. When complete they are to mark Pathology Complete in the pathology data section. When this is done, I would like three fields in the parent (specimen) file to be updated automatically. First, the date should be set to the date pathology was completed. Then the case number should be set to source + specimen ID. Finally, pathology complete should be set to yes as it is in the pathology file.
In an earlier NT version, I had placed the following code in validate update:
If pth:pathology_complete = 'Yes'
Spe:specimen_id = pth:specimen_id
Access:specimen.fetch(specimenid_key)
Spe:date = today()
Spe:case_number = spe:source&'-'&spe:specimen_id
Spe:pathology_complete='Yes'
End
This does not seem to work in NT 6.22. I hope I gave you enough here to get you started.
Thanks,
Jeff