• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 684
  • Last Modified:

Close and delete database from workspace in lotusscript

From an action button on a form in my first database, I open another form in another database in the workspace. The last thing I want to do in the action button is to close the first database so it is removed from the workspace. This way when I close the second database, I don't want to see the first database.

Thanks
0
bobdraz
Asked:
bobdraz
  • 2
  • 2
1 Solution
 
HemanthaKumarCommented:
This formula deletes icon from the workspace

@Command([AddDatabase]; "server":"dbpath");
@Command([WindowWorkspace]);
@PostedCommand([FileDatabaseRemove]);


~Hemanth
0
 
bobdrazAuthor Commented:
I need the solution in lotusscript. My action button is in lotusscript.
0
 
HemanthaKumarCommented:
bobdraz,
How do you open the form ? Is it precomposed or a new form ?
0
 
qwaleteeCommented:
No can do in LotusScript... and also, the @Command version still asks the user to confirm.

There is a company that sells a tool that claims it can modify user workspaces, never tried it.
0
 
bobdrazAuthor Commented:
Thanks alot for the help. I was pretty sure this couldn't be done. My client really wanted this feature, but before I said no, I just wanted to make sure.

Thanks again
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now