ktalent1 Posted August 20, 2010 Posted August 20, 2010 (edited) Hi, I wrote a script for a button that is intended to create a related record in a new table. The logic of the script is supposed to be: 1. If there is no related record in "Monitoring Data Entry", then create one and automatically populate three fields. 2. If there is a related record, go to it. It works most of the time, but for some reason, some records end up with two related records, and usually the second does not have the correct values for the fields I am trying to auto-populate (mdeNestID and mdeSpecies). I have attached the script as a jpeg. Any advice on why it does not quite work correctly is much appreciated! Edited August 20, 2010 by Guest
IdealData Posted August 20, 2010 Posted August 20, 2010 We also need to see the relationship diagram for "Monitoring Data Entry"
ktalent1 Posted August 20, 2010 Author Posted August 20, 2010 Well that makes sense - sorry I didn't include it originally. "Thesis Data" is where the button is located. "Monitoring Data Entry" is where a new record is created or an existing record is pulled up when the button is pressed. Each record in "Monitoring Data Entry" is basically a header that sits over a portal to "Monitoring Data." In the relationship graph, it goes: ThesisData->MonData->MonDataEntry I've attached a jpeg for the ThesisData->MonData relationship, and one for the MonData->MonDataEntry relationship.
Recommended Posts
This topic is 5269 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 accountSign in
Already have an account? Sign in here.
Sign In Now