Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Anybody can me explain:

 

two tables has multi-criteria Relationship and Table 1 has  indexed Global match field.

I have a script with a Loop creating new related records, so 1st record will be created, but on second and next will be error 510 (Related record is empty or unavailable)

Please describe exactly what your tables do (no 'Table 1/2') and how your relationships are defined, and post your script code.

 

indexed Global match field.

 

There is no such thing as an indexed global field.

  • Author

Please describe exactly what your tables do (no 'Table 1/2') and how your relationships are defined, and post your script code.

 

 

There is no such thing as an indexed global field.

 

Table 1                               Table 2

IDT1 (serial number)  =      IDT1

Date Global (global)   =      Date

...                                         ....

 

There are 2 match fields and I allow to create records in Table 2 via Relationship

 

Script in Layout (Table 1)

 

Set Field (Table1::Date Global ; Get (CurrentDate)

Go to Record First

     Loop

          SetField (Table2::Date ; Table1::Date Global)

          Go to Record Next (exit after Last)

    End Loop

 

So will be created only one record  on table 2 related to the first record of Table 1. 2nd and other loops will give 510 error.

This works just fine for me. Most likely your Table 1 records #2 and following don't have a serial number – at least that was the only way I could provoke this error code.

  • Author

Hah, today works fine for me too. Perhaps I was tired yesterday. Many thanks.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.