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.

Error message on field entry in dialog box

Featured Replies

I'm bumfuzzled.

 

I have a script with a show dialogue box utilizing the data input fields. Whether anything is entered, or if the fields are left blank, once you click the OK button, I get an error message that 'this action cannot be performed because these fields are not modifiable.' I have the set error capture script step on in the script. I've checked my security setting on these fields and they are modifiable. (They are global fields.) I've checked the fields directly on the layout, and they are modifiable. I've tried it with the admin level, still get the same message.

 

Any ideas what is going on here?

 

Thanks for any help.

 

 

 

Could it be a calculation field ?

  • Author

Thank you for responding. No, it is not a calculation field, just a simple global date field.

See if you have some kind of script trigger on the object or layout

  • Author

Thanks for responding. No, no script trigger.

You need to post a copy of your script. The easy way is to print to preview and copy and paste it into a Reply. Use the Code function here which is the <> icon.

  • Author
User Interface: LAYOUTS: --Report Viewer: btn__PRINT/VIEW_WeeklyMonthlyInvoice
#
#==============================================
# Purpose: Print or view the week's invoices
# Parameters: week; month; three
# ---------------------------
# $one = (enum) load, unload
# $two = (string) second parameter
# $three = (num) expected
# ---------------------------
# Called by: (script) any
# Author:
# History:
Last change:
# Notes: none
#==============================================
#
Set Error Capture [ On ]
Set Variable [ $LayoutName; Value:Get ( LayoutName ) ]
Set Variable [ $ObjectName; Value:"tab.business" ]
Set Variable [ $ScriptParameter; Value:Get ( ScriptParameter ) ]
#
Show Custom Dialog [ Title: "Alert!"; Message: "Please enter the start date for the " & $Scriptparameter & " and the end date for the " & $ScriptParameter & "."; Default Button: “OK”, Commit: “Yes”; Input #1: DB » Globals::
REPORT_WEEK_START, "Week start date"; Input #2: DB » Globals::REPORT_WEEK_END, "Week end date" ]
#
Freeze Window
Go to Layout [ “InvoiceList” (Invoice LAYOUT » Invoice) ]
Enter Find Mode [ ]
Set Field [ Invoice LAYOUT » Invoice::saleDate; DB » Globals::REPORT_WEEK_START & "..." & DB » Globals::REPORT_WEEK_END ]
Perform Find [ ]
#
If [ Get ( LastError ) = 401 ]
Show Custom Dialog [ Title: "Alert!"; Message: "There are no invoices for the " & $ScriptParameter & " chosen."; Default Button: “OK”, Commit: “Yes” ]
Go to Layout [ $LayoutName ]
Go to Object [ Object Name: $ObjectName ]
Enter Browse Mode
Perform Script [ “SizeWindowStatus” ]
Exit Script [ ]
End If
#
Enter Browse Mode
May 15, 2013 12:30:07 PMM V6.fmp12 - btn__PRINT/VIEW_WeeklyMonthlyInvoice -1-

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.