Skip 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.

not so easy sort!

Featured Replies

I want to do the following:

copy part no from layout A

goto layout B

paste partno into layout B

do find layout B

quit find layout B

This sounds easy, but I am having trouble with it.

Ivan

Do you want to find in layout B using the valuie you copied from layout A?

If so, do the following:

Create a global field of the same type a part no, probibly text.

Use Set Field to set the value of the global to the part number.

Go to layout B.

Enter find mode.

Use Set Field to set the value to the global field.

Perform Find.

That should do it.

  • Author

yes

  • Author

whats wrong with this line? global field will not change!

Set Field[quote::pnsrch; quote::pnsrch=quote::quoteno

Ivan

quote::pnsrch=quote::quoteno makes this a boolean expression, true or 1 if they are equal and false or 0 if they are not. I don't think that is what you want. The set field has two things that must be specified, the field to be set and the value to which it is to be set.

I think you may want : Set Field

Or create a relationship between the tables, based on the two fields, and use Go to Related Record [ Show only related records; From table: "secondtable"; Using layout: "layoutAssociatedWithsecondtable" ].

  • Author

Ralph:

Your right. it returns 1 or 0. I tried it as you wrote it and it will not set the global field. It will set all other fields.

Ivan

Send us your complete script. Setting a global field should work.

  • Author

There seems to be a problem using Set Field between tables. It works when your in the same table. Won't work between tables. I Set a relatioship between the two tables and that did'nt help.

Ivan

Are you trying to set the field in Find Mode? Relationships don't exist in Find Mode. But you shouldn't need a relationship to set a global in version 7 anyway.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.