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

?autofill fields with content from other tables?


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

Recommended Posts

Posted

Hello again!

I want to know what I have to do if I want to autofill a field with content from other tables.

Ok here I try to define my problem a littlebit exactlier laugh.gif (sorry for my funny english)

Table A

fields: userID; userName; userPath

Table B

fields: userID; orderStatus; item

I choose in Table A the 4th record. Now I switch to Table B. If I make a new record in Table B, I want that automatic filled the field userID with the content from the 4th record of Table A field userID.

I dont want to add the userID by hand it should happend automaticly. What have I to do for this?

thx for any further help.

Posted

Make sure userID in Table A is connected to userID in Table B in your Relationships Graph. Then add a portal from Table B to the layout in Table A and allow new records to be created. Then whenever you add a record in the portal (in effect adding an item), the userID will automatically be added to the record in Table B.

It would be better to have these tables: Customer, Order, LineItem, Product. See Chapter 7 of Learn Filemaker 7 by Stars.

Posted

gIzm0,

If you're trying to tie newly created records to the user that is currently logged in, you might set a global gUserID, when a user logs in, then refer to that for newly created records (you could also tie things together with account names, if each user logs in with their own account.) An advantage of using a global to hold the UserID, is you can then use that for relationhips, to jump to related records that are tied to that user.

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