Subject: RE: Can we add @Toolsrunmaro(“Agent”) or @Command([runagnt];“agent1”) in a dialoglist?
Hi Andre,I am very appreciate for your quick response help every time when you read my post.
Since we are getting the close for my questions, then let me tell you the real story of my issues:
We have done some modification for Notes mail(6.5) to allow user to file the email to a corporate library database(we have about 800 databases ), those databases work as the document library inherited from a standard template, all of them have the (LookupCategory) view to list the categories in the first column.
When a user want he or her email be filed(archived) to the corporate db before sent, we have added extra fields in Memo form to allow user the enter the server of corporate db library with replicaid, and category. so after the email has been sent, a scheduled agent will work on the night to scoop that email from Sent folder to corporate db(basically just copy all noteitems and save it in that corporate lib db).
Now the problem is the category field which is dialogbox, when email composer create an email, he will populate the database infor to the memo form, then another category field will get the associated category and choose the one he needs then send it. so after the email was sent, all of that categories from that database were saved in two text fields(because 64 limition and a big category) with the email, and the formula in the Category field is like(@Explode(DocLibCategories+“;”+CategoryListInit+“;”+CategoryListInit_1;“;”), this is working. But as the corporate lib db grows faster, so many data saved with email caused the email slower.
So instead of save that many categories in Memo doc, I would to use @Dbcolumn on the dialoglist field to pick that category on the fly. But the problem is that, if a user chose some corporate db which the email receive does not access, so when receiver open that email, they he will get the popup box contains many server there, which is annoying user.
your code @If(@IsDocBeingEdited; @Dbwhatever(…); may be help, I am going to try it,
But I would prefer some thing like do not try to execute the @dbcolumn is he does not excess to that db.
I even add this line of code @If(@IsError(@Command( [FileOpenDBRepID] ; “85257004:004083F1”));@Prompt([Ok];“no access, error”;“Error”);“”), to test it there are no access, then do not bother to execute @DbColumn(), but unfortunately, I still get that window popup.
Please let me know if you need more information, I know it is not simple case.
Thank you so much again,