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.

Parameter in list fails to set in field

Featured Replies

  • Newbies

Using 13 values as parameters, all transfer except the 12th one. It is text of customer's middle name. What am I missing here?

  • Author
  • Newbies

Thanks for the reply. Here are the details: A clerk types Service Order information about a new customer into the fields of a FM layout. First, middle, and last name are separate entry fields (text). When the data entry form is complete, a button click starts the script which fills out relevant fields in a separate FM db. The parameter values:

Service Order::Acct

& ¶ & Service Order::DepositReceiptNr

& ¶ & Service Order::DateDeposit

& ¶ & Service Order::DepositAmt

& ¶ & Service Order::DepositAction

& ¶ & Service Order::DepositCertificateNr

& ¶ & Service Order::DepositCkNr

& ¶ & Service Order::DepositPaymode

& ¶ & Service Order::NameonCk

& ¶ & Service Order::Sequence

& ¶ & Service Order::FN

& ¶ & Service Order::MN

& ¶ & Service Order::LN

Here are the script lines which place the name fields in the separate db:

Set Field [ MVDeposit::FN; MiddleValues ( Get ( ScriptParameter ); 11 ; 1 ) ]

Set Field [ MVDeposit::LN; RightValues ( Get ( ScriptParameter ); 1 ) ]

Set Field [ MVDeposit::MN; MiddleValues ( Get ( ScriptParameter ) ; 12 ; 1 ) ]

Only the middle name field fails to have the text appear in the separated db record.

Hi

what about using the GetValue( ) function ?

Set Field [ MVDeposit::FN ; GetValue ( Get ( ScriptParameter ) ; 11 ) ]

Set Field [ MVDeposit::MN ; GetValue ( Get ( ScriptParameter ) ; 12 ) ]

Set Field [ MVDeposit::LN ; GetValue ( Get ( ScriptParameter ) ; 13 ) ]

[color:gray]BTW: to check for errors, try to insert a

Show Custom Dialog [ Get( ScriptParameter ) ]

[color:gray]at the top of the script

  • Author
  • Newbies

Thanks for your suggestions and LaRetta's replies. I have been diverted from the problem for a few days. I suspect that a lookup has been broken when moving the file from my FM9 Adv to the customer site.

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.