Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I want to use a table for a lookup field on a data entry layout. My problem is that when I select an item from the popup list, a new record is created in the table from which the popup list derives. I want it to enter the original id from the lookup table into the main table.

Example: I have a database with Recipe as the main table and several related one-to-many tables: Source, Course, and Ingredient. E.g.: Source has a unique IdSo_pk serial primary key, related to IdSo_fk in Recipes and so on.

On a data entry layout based on Recipes, I have lookup fields for each of the related tables. For example for the Source field, what I want is to select

Posted

In case anyone is interested, I solved one problem but have come up with another one. I found that on the data entry layout I had the lookup field the Source IdSo_pk instead of the Recipe IdSo_fk. Now the Id is entered correctly in the Recipe table and the Source table remains unchanged.

However, because the Source IdSo_pk is the first field in the Value List, and Source the second, the popup shows:

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