Quantcast
Channel: Value Lists Latest Topics
Viewing all articles
Browse latest Browse all 217

How do I start this?

$
0
0

Aloha Everyone,

 

First off I'm ESL and my gramma is not up to par with an English major. Second, I'm a photographer and not a programmer. That said, I am determine not to let that stop me from learning FM enough to program me a simple but functional DB. I'm familiar enough to understand and get around FM and it's back end but have not spent enough time to know it intimately like one who spend everyday in FM. In other words, I know basic of FM parts and functions and attributes but have not had the opportunity to learn how to connect everything together to make one simple idea to work. Lastly, I'd greatly appreciate you all for taking the time to help me with my issue. I'd only ask if you all can be a little bit more descriptive in your answer then a vague simply answer like "you should use a calculation." 

 

Here is my simple idea but seem complex issue for me:

I have two files, one is a CONTACT file (the starter kit) and another is a CONSENT file I'd created from scratch. Both files have the corresponding table names. I want to be able to type in the name fields of the CONSENT file to check the CONTACT file for a matching name. If there is a match then use that name and associate the CONSENT record to the CONTACT record. If there is no matching record in the CONTACT file then create a new record in the CONTACT file with the name that was entered.

 

UPDATE for clarity:

To clarify I do not want to create any duplicate records nor do I want to import the CONSENT table into the CONTACT. I'll update the post to reflect this.

I want to be able to type the name in the name field of the CONSENT table and have it reference the CONTACT table to see if there is a matching name. If there is a matching name then DO NOT create a new record with the same name in the CONTACT table. Also, that CONSENT record must relate to that name used in the CONTACT table. This is so that I can see how name CONSENT forms are associated to that one name.

Now, if there is no matching name then use that name that was just inputed in the name field of the CONSENT record to create a new CONTACT record with that name. Essentially automatically creating a new CONTACT with that new in the CONTACT table.

 

This is what I have going so far:

I have related the two files.

With just the Manage DB relationship and field auto-enter calculation I'm able to auto complete the name and create a new record. However, this just create duplicates contact record which is a no go.

I know this is not the way to go and assume it's either a combination of calculation and/or scripting. I just don't know where to begin.

 

How do I start this from a step by step instruction?

 

Please feel free to ask me for clarification and I'll do my best to make sure we're both on board with our understanding. Again, thank you for your kindness for taking the time to help out on my problem!

 

Mahalo all!


Viewing all articles
Browse latest Browse all 217

Trending Articles