Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5548 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

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...
Posted

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.

This topic is 5548 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.