Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

auto create new related record in 2nd table


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

Recommended Posts

  • Newbies
Posted

I've struggled with what is likely a very simple issue now for days and am hoping that someone here may have a few minutes to assist. Screen grab below is a simplified version of basic relationship I'm struggling with.

20100921-bf4g3817ts7f2118utinn7utt4.jpg

I have a match field (FID) in the 3 sub-tables to the left. On creating a new record in any one of these tables, I want the table I am working in to:

1)automatically create a unique serial number in the FID field in the Feature Index table on the right. This a serial number/match field

2)via a relationship, have this serial number in the Feature Index table inserted into the sub-table that called the new record.

Does this make sense? I can kind of do it with a drop down box and value list with buttons, but eventually there will be thousands of records in this database and many of which are imported from spreadsheets provided by colleagues. These records will be imported directly into the sub-tables. I just want to ensure that a new record with the same serial number is created in the index table at the same time!

I've tinkered and searched and frankly have no idea how to make this happen. Any quick tips, at least on what I should be looking for??!!!

Thanks

Posted

Since you're on fm9, isn't event triggers of much use to you, and you need to investigate this instead:

http://www.databasepros.com/FMPro?-DB=resources.fp5&-lay=cgi&-format=list.html&-FIND=+&resource_id=DBPros000128

But by and large could the attempted normalization be regarded as less convincing ... but again it could be a weak ability to recognize pure genius on my behalf??

But you might get around it by having a type attribute in the 3 leftmost tables joined into one single:

http://www.filemakermagazine.com/videos/data-tagging-classification-vs-organization.html

--sd

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