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.

Removing fields value

Featured Replies

hi,

Heres my problem, when the user presses the button to cancel an order placed i need to remove a assigned turkey to that customer. I have a script to set certain fields to correct values to remove from the relationship of the portal. The button for cancelling is in a portal with a relation to filter out cancelled orders and only show active. Now I need to make a script that sets the ID of the turkey in that table to nothing. I noticed that if i removed the unique value (because the id needs to be) the script works setting it to 0. But however if i apply it with unique set it only works once. I need a way to select the portals fields value and set to nothing no value. heres my script so far..

Set Error Capture[on]

Allow user abort [on]

if[tbl_orders::WeightNeeded > 0]

Show diolog["etc warning user about cancelling etc etc"]

if[Get(LastMessageChoice) = "1"]

Set Field [tbl_orders::cancel?; "Yes"]

Set Field [tbl_orders::cancelled; "1"]

#something to remove the tbl_orders::ID_turkey etc

End If

Else

Show diolog ["no order to cancel"]

End If

Any help would be great

smile.gif

MnR

If you just want tbl_orders::ID_turkey to be blank then use:

Set Field [ tbl_orders::ID_turkey ; "" ]

  • Author

ah i think i tried that but left it blank maybe if i add the "" then it should solve it, thanks i will try it and let you know.

MnR

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.