Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7433987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:45:38+00:00 2026-05-29T09:45:38+00:00

i have soft delete enabled database and i store these deleted documents into a

  • 0

i have soft delete enabled database and i store these deleted documents into a view named ‘DeletedDocuments’
i have an action on this view to delete the soft-deleted documents permenantly…
i have a HideWhen formula on the action stating that the action should hide when the view does not contains any documents

following is ma lotusscript for action bar

Function deleteSelectedDocuments As Boolean
    deleteSelectedDocuments=False
    Call setObjectVars()
    Dim documentCollection As NotesDocumentCollection
    Dim userChoice As Integer

    On Error Goto errHandler

    Set documentCollection=gDB.UnprocessedDocuments

    If documentCollection.Count=0 Then
        Msgbox "You have not selected any documents. Please choose some to delete em",,"No documents selected"
    Else 

        userChoice=Msgbox ("Do you want to delete " & Cstr(documentCollection.Count) & " document(s)?",64+100, _
        "Please confirm...")

        If userChoice=6 Then
            Call documentCollection.RemoveAll(True)
            Call gWk.ReloadWindow()
            Call gWk.ViewRefresh
        End If
    End If

    deleteSelectedDocuments=True
    Exit Function
errHandler:
    Print "Error ***" & Error & " occured on line ***" & Cstr(Erl) & "*** with error number ***" & Cstr(Err)  & "*** while attempting to delete selected documents"
    Msgbox "Error ***" & Error & " occured on line ***" & Cstr(Erl) & "*** with error number ***" & Cstr(Err)  & "*** while attempting to delete selected documents"
    Exit Function
End Function

i want to refresh my view once the documents are deleted and want to refresh HideWhen formulas too…
i got something like uiDoc.RefreshHideFormulas
but uiDoc doesnt work here…
nor am i able to use @Command( [RefreshHideFormulas] ) in ‘eveluate’…
how do i go about it????

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:45:39+00:00Added an answer on May 29, 2026 at 9:45 am

    You want to call

    @Command([ RefreshHideFormulas ]);

    after the gWk.ViewRefresh.
    You can use Evalute for that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a database where contacts are only soft-deleted, i.e. we set a bit
I have to implement soft delete using entitty framework. My DB tables have a
I have overridden the default NHibernate DefaultDeleteEventListener according to this source: http://nhibernate.info/blog/2008/09/06/soft-deletes.html so I
I'm using a soft delete in my django admin, done like this . The
I'd be happy to have very soft character >> instead of white-space, like this:
I have the following one-line text input that's broken into several soft line wraps.
I have been following this example, http://www.ok-soft-gmbh.com/jqGrid/DependendSelects2.htm , as it is just what I
Working on a project at the moment and we have to implement soft deletion
I have a cache which has soft references to the cached objects. I am
Have you managed to get Aptana Studio debugging to work? I tried following this,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.