Jump to content

Record navigation


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

Recommended Posts

Hi All,

I have a table with customer and registration

in my layout I want to be able to go to a new record but the customer name must be automatically populated from current customer in previous layout. Both layouts are from the same table.

I just can not get the set variable and set field to work

I tried using global field but without success

this is my code

image.png.a5d0fe16090a5117359c03270262a370.png

Link to comment
Share on other sites

Hello

Firstly, you really need to get rid of the slashes in your table names. Call them 'Customer_Aircraft' or something, but you must get rid of the slashes. They will cause you untold misery at some point. As a rule don't use spaces or special characters in table names, layout names, table occurrence names or field names. Underscores are OK ( _ ), but avoid most other non-alphanumeric characters.

To your issue, in line 4 you need it to be

Set Field [Customer/Aircraft::Owner/Operator ; $$SetCustomer ]

The way you have it now, you are setting the field to nothing.

  • Like 1
Link to comment
Share on other sites

Hi Gismo,

I also noticed that you are using '/' in your table and field naming.  Filemaker will always warn you that it cannot be easily used and you should take those warnings seriously.  I highly encourage you to correct your table and field naming. :wink3:

  • Like 1
Link to comment
Share on other sites

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