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

  • Newbies

I'm new with FM and I'm over my head with this.

I am trying to manipulate the contents of field X. Field X is determined by what is in field Y.

Set Variable [$Location; Bindery::Location]

Set Variable [$TargetField; "Bindery::&"$Location"]

Set Field By Name["Bindery::"&$Location;

***At this point I want to set the contents to

"Bindery::"&$Location & Bindery::CustomerName

Field By Name is accessed successfully but I can't figure out how to manipulate the contents.

Any help would be greatly appreciated.

Field X is determined by what is in field Y.

Then why not make Field X a calculation field?

It looks like you're wanting this:

$Location & " " & Bindery::CustomerName

Or use a simple Set Field to:

Bindery::Location & " " & Bindery::CustomerName

Or just use a calc field as comment suggested, or auto-entry.

But why even do any of this, just to duplicate existing data?

You have FM Advanced, so I suggest using the script debugger and data viewer to help you see what's going on. It's not clear to me from your description exactly what result you're getting or not getting.

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.