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.

Edit an embedded object via Script

Featured Replies

I am working on a document management system. The documents will be stored in container fields (using OLE) using INSERT OBJECT in a script.

Once a document is in the container field, I don’t want the users to be able to right click the container field, which the allows them opportunities to mess things up by giving them options like Insert Picture, Insert Quicktime, Open Document etc. Once the document is there, their only option should be to edit it.

So, I just want them to be able to edit the document and I want to do this with a button and a script, not with a right click. But I don’t see any script step that allows me to do that. Is there a way I can allow a user to edit the document in the container field, other than allowing them to right click the field ?

Doing this by script allows me to save a copy of the document before the user edits it, as well as make a log of who edited it etc.

Edited by Guest

  • 11 months later...

If you use the scrip step:

Go To Field[select/Perform;YourTable::OLE_Object]

This will function like the user double clicked and go into edit mode. You can even set this OLE_Object, in your case a document, to be the button so when the user clicks on it it automatically goes into edit mode, no need for double click. You also want to set your custom menus to eliminate the users options of messing up your container.

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.