Solved

Zvonko - The Jackpot Winner !!!

Posted on 2002-05-01
562
917 Views
Last Modified: 2013-12-18
For all the Support and Fun here at EE & Lotus Notes !!!

You deserve it buddy !

:-)
Arun.
0
Comment
Question by:Arunkumar
  • 217
  • 155
  • 153
  • +2
562 Comments
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
OH, oh. We can expect an email bombardment I suppose :-)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
That is what is happening to me right now...
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Well..Zvonko is not commenting here i wonder why ???

:-(
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
He's probably afraid of the extra load in his mailbox.
Why not give me the points then ??

>:-D
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Even then i am worried.... he could post and stay away right ? Anyways i am rewarding him for what he had done right ?

:-(
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Well, if he doesn't want the points, you can always give them to me >:-D
I will be very grateful for any donation ;)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
jerrith....can you please help ?
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
changed the question completely please read the first posting of mine. Thanks
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Hello Arun,

as you surely noticed I am under water at moment, so I have not noticed your trouble here, sorry.

Generaly is desktop5.dsk a nsf file.
That mean oppening a DOS box and going to c:\LotusR5\Notes
and starting this commands should work:
C:\LotusR5\Notes>dir \LotusR5\domino\*fix*
 Verzeichnis von C:\LotusR5\domino
15.06.2001  03:05            49.152 nfixup.exe
C:\LotusR5\Notes>copy c:\LotusR5\domino\nfixup.exe .
C:\LotusR5\Notes>cd data
C:\LotusR5\Notes\Data>dir desk*
 Verzeichnis von C:\LotusR5\Notes\Data
07.05.2002  20:01         9.175.040 desktop5.DSK
C:\LotusR5\Notes\Data>copy desktop5.DSK desktop5.org
        1 Datei(en) kopiert.
C:\LotusR5\Notes\Data>cd ..
C:\LotusR5\Notes>nfixup desktop5.dsk
The ID file being used is: C:\LotusR5\Notes\Data\paunoski.id
Enter password (press the Esc key to abort):
07.05.2002 21:08:29   Database fixup process started
07.05.2002 21:08:29   Performing consistency check on desktop5.dsk...
07.05.2002 21:08:29   Completed consistency check on desktop5.dsk
07.05.2002 21:08:29   Database fixup process shutdown
C:\LotusR5\Notes>

Or in English words: copy nfixup.exe from your Domino server program directory to Notes program directory. Make a backup of your desktop5.dsk file and run a local fixup against the original dsk file.


Good luck,
zvonko

0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Sorry Arun, fixup is only a waste of time; it does not help...

How many megabytes is your dsk file?

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
i know it did not work... its about 16 MB i have all the databases and bookmarks in it.  I dont think I can rebuild manually.  I can but it will take me days...

:-(
Arun
PS: I tried nupdate and updall too...  
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Have you tried compacting the desktop?
That used to work in R4 when there were problems. Not sure, just a guess.
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
nope not yet will try today at office. Thanks.
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Well...that too did not work.  I had rebuilt it finding and adding every icon that i had to my workspace.  About two hours or damn work.

I am all set and this question will be rewarded to Zvonko for helping me out with @Replace/@ReplaceSubstring question earlier...

hee hee hee !! We are back on track Bro !

Jerrith thanks for the effort...hope you dont mind this question taking a twist right ?
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Boyz !!!
Where are you ? I know Zvo is on vacation!
;-)
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Just had a long weekend. (Lots of national hollidays in may over here).
Well, I suppose it's okay for this one time :(
:-)
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
I am also back in town :-)

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Back in Action huh ?
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
still inactive :-)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
You know what ? I slammed my PC on saturday and when i got it back with Win2K the sound card screwedup.  Its along with a modem, and i have to go for a new card.  Till i get a new working soundcard i dont think groove will be installed.

It was fun Formatting the drive !

How was your weekend ?

HP Sucks!
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Never buy a HP PC, they're crap :-)
Anyway, I'm running Windows XP Professional at home and it runs like a charm. No hickups with hardware, extremely fast (my PC now boots up in a matter of seconds!).
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Well...yesterday was a big day for me...I bought a new sound card for about 20 dollars and came home.  But i was determined not to use the new sound card.

I searched and searched on the net.  Thanks to Google for its powerful search.  Whereever i visit i get the information that HP sucks!

Interestingly i got a chinese site, i did not understand a thing from that.  But they had driver files and i was able to download a file and make my modem work !!!

Aah ! I am one satisfied customer for HP !

;-)
Arun.
PS: My machine is not a good configuration 500 MHz, PIII 256 RAM thats it... It is fast but not upto my expectations.  Anyways i got it over two years back !!!
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Well my home machine is a PIII,800 Mhz with 128MB and I tell you with XP it flies like a bat out of hell :-)
(Might have something to do with that Nvidia GForce 2, graphics card where 3D games are concerned).

My current 'drule' machine has a GForce-4 (or is the 5 released ? I can't keep up)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
oh boy !

My friend has a new DELL its 1.2 GHz and if i am not wrong it has about 1024 MB RAM and XP ... MAN it flies like anything... Seconds it boots up !

;-)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Okay Zvo...! Sorry to open this again.  I am getting mad.

This is the value for DispDocReaders a list ofcourse:

"Chris R Jones/ITM/DCC/DCX"
"Michael S Kachorek/ITM/DCC/DCX"
"Christoph Hartung/096/DCAG/DCX"
"ITB All Senior Management"

This is the value for DispDocEditors another list:

"ITB/F Senior Management"
"Chris R Jones/ITM/DCC/DCX"
"Michael S Kachorek/ITM/DCC/DCX"
"Richard T Faba/ITM/DCC/DCX"
"Christoph Hartung/096/DCAG/DCX"

Now,
I used your @Replace formula as follows in the first categorized column,

List := @Unique(@Name([Canonicalize]; DispDocReaders : DispDocEditors));
Key := "CN=";
@Trim(@Unique(@Explode(@Trim(@Implode(@Replace(List;Key+@ReplaceSubstring(List;Key;"");"<--Others-->") ) ) ; ";" ) ) )


My expected Result is three categories:

> <--Others-->
> ITB All Senior Management
> ITB/F Senior Management

But... It has screwedup my whole expectations...Can you please help me out again...

All the categories gets mixed up together to form new categories for example...

> <--Others--> ITB All Senior Management

etc... This is for one value i am giving an example. There are 100's of documents in the view and i dont know how to give a better example.

PLEASE !

Thanks a lot in advance Buddy!

Thanks Bro!
Arun.
PS: As you see I have increased the points just for you :-)
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Hey Arun.
Have a look at what's the reason for your formula not giving the result you want.

If you display the result for list you get the following list:

CN=Chris R Jones/OU=ITM/OU=DCC/O=DCX
CN=Michael S Kachorek/OU=ITM/OU=DCC/O=DCX
CN=Christoph Hartung/OU=096/OU=DCAG/O=DCX
ITB All Senior Management
CN=ITB/O=F Senior Management
CN=Richard T Fabal/OU=ITM/OU=DCC/O=DCX
CN=Christoph Hartung/OU=096/OU=DCA/O=DCX

As you see "ITB/F Senior Management" gets interpreted as 'ITB' being the common name and 'F Senior Management' the organization.
This is obviously not what you are looking for.

Let me play around a little, maybe I can find a solution.
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Okay, the following formula

List := @Unique(@Name([Canonicalize]; DispDocReaders : DispDocEditors));
Key := "/O=DCX";
Result1:=@ReplaceSubstring(List;Key;"")+Key;
Result2:=@Trim(@Unique(@Replace(List;Result1;"--Others--")));
Result:=@Name([Abbreviate]; Result2);
Result;

will produce the following result:

--Others--
ITB All Senior Management
ITB/F Senior Management

The source of your problem is the forward slash ("/") in the name of one of your groups. (I suppose these are groups you are referring to). If you replace the / with some other character in all names, your formula will work fine too.
I had to remove the less than and greater than symbols in "<--Others-->" for the @Name function to work properly to return the list as you want it. (The < and > will cause problems in @Name, since these are illegal characters in names I suppose).

So do I get the points now ????
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
I guess you got it buddy!  But i have to test it at office okay ?  But u dont get the points from this..you will get a separate posting okay Bud ?

This is for my Bro Zvo okay ?

;-)
Arun
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
not bad JM :-)

I was to slow Arun, but compare this one too:
List := @Unique(@Name([Canonicalize]; DispDocReaders:DispDocEditors));
Key := @Trim(@Left(List;"/OU=")+"/OU="+@Right(List;"/OU="));
" <--Others-->":@Unique(@Name([Abbreviate];@Trim(@Replace(List;Key;""))))



<|:-)



0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Oh Boyz...!

You are cool....i am at home now and the first thing i will be trying at office is the codes that you sent me.

Personally i would prefer JM's code since he uses the /o=dcx key.

But i definitely will try both the codes and let you guys know.

:-)
Arun.
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
I could have put it all in one line, but I thought it would be clearer when I split things up. (makes it easier to read)
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
that was my assumption too: JM's code is more readable :-)

Of course Arun, you should take that one that does the job.

Only for clarification the description to my approach.
The problem in your KEY value was that all names containing a slash start with a "CN=" in Canonicalized form.
That mean also this one: CN=ITB/O=F Senior Management

So my question was how to exclude the one with person names?
JM's approach was to hardcode the persons Organization.
My approach is to say: when more than one slash then it is a person.
When two or more slashes contained in the name, then is after the first slash this string: "/OU="
And finding this string was my key to exclude the person names.

But as I know you Arun, the best way is not the one that make the company independent from your adapt in next reorganization ;-)

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Well...Practically Zvo's suggestion created another category called "Not Categorized" And JM's solution was right on target !

Now what ?
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Do not tell stories to me Arun :)

If you have the @Trim in my formula, then this absolutely can not be!
" <--Others-->":@Unique(@Name([Abbreviate];@Trim(@Replace(List;Key;""))))

You see?

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Trust Me Zvo....I did a cut and paste of both of your formulas in two different views.  And yours had an extra category of not categorized.  And JM's did not.

:-(
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Again i was testing on a view of about 120 documents.

Now what ?
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Sorry Arun, you are of course right :-)

Here the corrected code:
List := @Unique(@Name([Canonicalize]; DispDocReaders:DispDocEditors));
Key := @Trim(@Left(List;"/OU=")+"/OU="+@Right(List;"/OU="));
Result:=@Unique(@Name([Abbreviate];@Trim(@Replace(List;Key;""))));
@If(Result="";" <--Others-->";" <--Others-->":Result)

The problem was that when in some documents no matches where found, then did the @Trim yeald an empty result list. That was one exception I did not catch.

Sorry that I did not beleaved at once to you. Now you have one free, ok :-)

0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
OK, take simply JM's code.

Here my last try:
List := @Unique(@Name([Canonicalize]; DispDocReaders:DispDocEditors));
Key := @Trim(@Left(List;"/OU=")+"/OU="+@Right(List;"/OU="));
@Unique(@Name([Abbreviate];@Trim(@Replace(List;Key;"<--Others-->"))))

<|:-)

0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
So do I get 55 points for this too?
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Moin' JM :-)
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Goodmorning to you too :-)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Morning Guys!

:-P
Arun.
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Hey Arun,
it's almost lunch time over here :-)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
its just 4:45 when i Wokeup. Loooong Day awaiting....

;-)
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Oh boy. Is this to avoid traffic jams that you get up that early? Or just because your a net addict?
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Hee Hee Hee...One thing is my girlie would be online, other thing i got used to getting up early, and finally i could check my emails and stuff pretty quick in the morning as i dont have any other work.

;-)
PS: I have changed my timing from 3:45 to 4:45 last week.
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
You definitely qualify as a morning person.
I am more of a night person myself, can't get into bed in the evening and always have trouble getting up in the morning - except on holidays, when morning is noon;-)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Well...it should read noon is morning am i right ?
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Depends on how you look at it I guess.
In weekends I get up around noon, so morning is noon and noon is morning ;-)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Haa Haa haa !
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Who is on for the new 350 pt biggie ???
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Hello Guys!
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
it's just 50 points here, the other points are in VB, I'm not interested in those ;-)
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Arun is talking about DES question.
The VB hotspot is already catched by Heman :-)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
oh yea !

But you never know whats behind this 55 right ?

See for example i could increast 5 pts now like this...

:-P
Arun.
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Well ask a question here and I'll solve it for you for 350 points. No problemo >:-p
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
here it comes ! The increase !
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
This is starting to look like favouritism :-P
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Oh yea... i am planning something like this...

For each post by Zvo some points will be increased.
All continuous posts by him will be treated as one post. Meaning,

There should be some comment following Zvo by Jerrith or someone i dont care and the points will be increased.

Let see how far this goes !

;-)
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
What do I need to do to get a question like this for me too?
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Be my Bro !
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Hey guys!

I have another question for Zvo!  I have a postopen event.
I have a action button on the form with some codes.

I want to trigger the postopen event after i set a field in the document using this button.

I tried UIDocument.Refresh (i know this wont do that trigger). I relied on the uidoc.Reload() but this too wont do the job.  How do i do it ???

Increasing the points for you buddy !!!

;-)
Arun.
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Hello Arun,

you have not stated but I assume you are talking about PostOpen event of the Form, right?

If your PostOpen code is LotusScript than it is easy: simply declare in Form's Global section a new function with the code from your form's PostOpen event. Afterwards you can call this new Sub/Function at form opening time from PostOpen and from the Action button code.
If your PostOpen code are @Commands, then move the code to a new Agent with "RunOnce(@Commands..." setting and call it from PostOpen and from Action formula with this call:
@Command([ToolsRunMacro];"doMyNewAgent")

I know that begging would decrees the points, so it's up to you <|:-)



0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Well, i thought about this option...but i am kinda nervous to implement this since its an application that was developed by someone and it has got hella lot of references to script libraries and global functions routines and form functions and routines....

If there could be any easy way...

well Can i close and open the document ? That would be an easy option...just a thought.  If i can do that i think my problem will be solved.

:-)
Another 5 increase since you posted something to this question...hee hee hee...!!!
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
How about this Action code:
Sub Click(Source As Button)
     Dim ws As New NotesUIWorkspace
     Dim uidoc As NotesUIDocument
     Dim doc As NotesDocument
     Dim EditMode As Integer
     Set uidoc = ws.CurrentDocument
     Set doc = uidoc.Document
     EditMode = uidoc.EditMode
     If EditMode Then Call uidoc.Save
     Call uidoc.Close
     Doevents
     Set uidoc = ws.EditDocument(EditMode, doc)
End Sub

<|:-)

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Increased the pts for the try buddy!

Let you know how it went okay ?

Two biggies for you today Zvo ! You will be 100k before me. I resign!

;-)
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Not with this B and C!!! gradings :(

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Nope !  Certainly with an "A" for you buddy. I have an application for you to code for me...  Well its a simple view design. That will increase the points by 200.  Would you like it to be mailed across ?

;-)
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Why don't you just post a queston and let everybody participate?
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
OK, we can make a hybrid way of both methods: describe the problem here and increase the design usability by collaborate email...
Or even better: in Groove shared space :-)



0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
That sounds better. But for now here is an interesting requirement.  I dont think its possible to do but still i want to give a shot.

Whoever gets an answer other than Zvo will be awarded pts separately. For Zvo this question pts will be increased.

Again for the quota this is increased by 5 now for zvo's last comment.

-Arun.
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Okay here I go !

I have a sign enabled field in a section. So, the username or the signature is displayed on the section right ?

Now, if i use Actions Forward, the signature field and the signature does not get forwarded.  I know it should not get forwarded but is there a workaround to forward this signed document with the sign to someone ???

Jus Curious !
Arun.
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Added 50 pts since Pratigan gave me 50 for Zvo's answer !

Zvo you deserve it buddy!

:-)
Arun
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Hello Arun,

the problem with the signatures is that as soon as you resave the document the previous signature is gone. And you have to recreate it with the new recipient address (Forward or MailSend does it for you). The only exception is that signatures in sections with prohibited edit access are preserved. Check this option for you.

Good luck,
zvonko

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
You know what ?  The request was put in pending for now. I will revisit this issue later but since you have commented something here is your quota of accumulation !

You are doing great buddy !

So far so good....

Do you like this game ?

:-)
Arun.
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Hi guys!
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Mornin'
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
WOW ! Quite a long time this question has been active.  Where is Zvonko ?  Dont he want the points to be increased ?  

Heman has stolen his 500pt question and Zvo should come here for sure LOL !!!

:-)
Arun.
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Those points might be mine, Hemanth's formula didn't work flawlessly, after a bit of correction work by me, they do however :-)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Well... Congrats buddy!  By the way where is our buddy Zvo ???

;-)
Arun.
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Warming up after his sailing vacation I suppose. He is around EE, I've seen him post some comments this week.
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
yea but i wonder why he is not interested in this question. This is huge I tell you.  Just a big one as he is expecting...

:-)

By the way have anyone had any success in converting @Command([ToolsRunSelectedDocuments]) in LotusScript ???

I have done something tricky.... hee hee hee..
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Arun, are you talking about @Command([ToolsRefreshSelectedDocs]) ?

Hi boys!

Sailing was wonderful (but too short :)

This week I am on vacations but at home.
At office I will definitely have more time: Domino died at my Computer Center :(
Next week I am the first two days on Lotus.Workflow education but only as last action in this direction. Afterwards I retire from Lotus platform (and hope to dive in into Groove!!! :)



0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Does this mean, we'll have to miss your valuable advice here in future ?
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Does this mean, we'll have to miss your valuable advice here in future ?
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
No, it means I will try to pull you over to Groove!

(no chance JM :)

0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Okay, good :-)
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
<|;-)

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
For Zvonkos valuable posts here the pts are increased !
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Now to the actual part.  Yes Zvo ToolsRefreshSelectedDocs
you are right.

Any thoughts ?  The computeWithForm dies without doing anything since there are about 17 computed fields one depending on the other.

I have a wierd code right now, the selected documents will have a new value on one field.

These documents will be put on a Shared Folder (private folders are not allowed while putinfolder is used).

While putting in the folder i create a lock document for this folder.

After adding the docs to folder i call another agent that will switch the currentview to the folder. Select all documents and run the ToolsRefreshSelectedDocs and remove all the documents from the folder.  Now, this agent will Return back to the previous view while calling another agent that will delete the lock for the folder.

This works fine But is there a neater solution ???

;-)
Arun.
PS: The lock is first checked if the folder is being used by someone else while a person is using this feature. Hmmm...
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Hey Arun, you are really worth your money: nobody understand what this mess is for :-)

0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
The best phrase is: "... a neater solution " :))

LOL

Neater assumes your solution is neat :)

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Grrr did i ask about my english ?  okay let me rephrase the question...

is there a better solution ???
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Now this one is for your comments !
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Hey man, did you not hear my English on Groove! How can you think I make jokes about your English? The only meaning was that your method is really funny; you use side effects instead of a straight way :-)

Look here (tested to work as requested :)
Sub Initialize
  Dim rc As Variant
  rc = Evaluate("@Command([ToolsRefreshSelectedDocs])")
End Sub

Of course has this LotusScript agent to act on: SelectedDocuments

How much points for this ;)

0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Uuups! No points :)

Testing was wrong; @Command does not work in Evaluate :)

now it gets difficult...
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Arun, why does this agent not work for your forms:
Sub Initialize
     Dim session As New NotesSession
     Dim db As NotesDatabase
     Dim dc As NotesDocumentCollection
     Dim doc As NotesDocument
     Dim rc As Variant
     Set db = session.CurrentDatabase
     Set dc = db.UnprocessedDocuments
     Set doc = dc.GetFirstDocument
     While Not (doc Is Nothing)
          rc = doc.ComputeWithForm( False, False )
          Call doc.Save(True, False)
          Set doc = dc.GetNextDocument( doc )    
     Wend
End Sub

Can you send a database to me with such forms?

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
I tell you there are about 17 dblookup fields one based on the other value....try few dblookups and use computewithform it wont work i bet for sure !

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
You know what ? I am going to increase the points for something interesting you did by using an @Command inside an Evaluate.....

Damn You!
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
And Your english was really good bro !

I mean it. I still think i have your recorded voice in my Groove.

You know something ? Since you introduced groove, me and my girlie are grooving daily on it.  Its real cool and it easily gets through the firewall of her company. Thanks to you man....

I will find a nice occasion to increase the points for Getting me Grooving with my Girl....

:-)
Arun.
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Hey Fellas !

Where are you ?

;-P
Zvo ! Dont you want to keep this question active and accumulate a big one ?
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Tell me that you are interested in my @DbLookup(LDAP) function :)

(and give me 2000 for it! :)

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
I just got the file moved to my office. I will check and tell you if it works or if it interests me and you deserve so many points !

:-)
But for this comment you get another 5 pts...
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
<|;-)

0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Just watch out that Arun doesn't pay you in monthly installments of 5 points, like he did with Agent Mulder once :-)
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
JM, did you press the Lookup button?

You can get it run on any Notes client having Internet access trough LDAP port 389
Perhaps corporate firewall does not allow this to you.

When you get it one time running then I can give you all other parameters to use other LDAP ports, get authenticated binds for protected corporate attributes, select some records when there are too many, and so on...

0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
I haven't tried it out yet, I'll have a look at it later on today if I find the time.
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Have a nice day :-)

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Whoa Whoa !!!

Zvo is really bad. He has posted so many comments and as I keep my words... here are 3 times 5 pts duely increased.

Zvo! Dont you see big money here ?

:-P
Arun.
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Yes, and he posts again it will cost you another 5 points :-)
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility

OK Arun, this is for 5 points: I got this Lotus.Workflow course as a single student from a genius teacher looking and named like Shakira :-)

Ok, her name was Gaby Chakir, but she was really awesome.

Yesterday I have sent this course book to our repro department and want to ask you whether to send you a copy to your home address.

0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
I'd be interested in a copy too :-)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Not now Zvo !  I will ask you if i need.  Dont spend now without any purpose i know for sure i wont even look at it.
Sorry to be so open....

Here are your 5 pts !

:-)
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
JM, it seams this week it take to be processed with this course book. Until now my repro department even not received the order.
Should I send you next week the manual to home or to office address?

0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Doesn't matter. Preferably send it to my home address. I think you've got it from Groove, if not I'll send my snail mail address by email :-)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
yea yea whatever all now i gotta do is add 5 pts for Zvo !

And My Dear Brother, one quick question for you !
Do you still think that you will reach 100k before me ?

LOL !

;-P
Arun.
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Not when you go on getting help from JM :-)

But for sure when I got your 2000 <|;-)

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
oh boy you have two options now is it ?  JM wont help me hareafter and i wont give you the 2k  Still wanna bet ?

Look at my points bro !  I hardly have 4k more ! and you have almost 20k !

Please withdraw the challenge buddy.... Or beg me i will let you pass 100k before me...

Again for your comment here is the quota of 5 pts !

:-)
Arun.
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Without challenge it is no fun :-)

And only to say it with your words:
To know is to know that to know is not to know and that not to know is to know!

So you never know who of us two first get at 100k :-)

The small word "bet" you brought into play. I do not need to bet, I do know :-)

Now, have you pressed this Lookup button?

0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Just post a comment so Arun will have to give zvonko another 5 points for this question after his next post :-)
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Moin JM :-)

That would only work if Mooney do not come along and do spoil the party :(

JM, have you pressed this Lookup button?

0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
No, no time. I'm working on three projects at the same time at the moment, so it gets a bit hectic at times.
Will make time to test it today, though :-)
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
No problem, take your time.
Beside this is that button only the decoy to gulp the hook and I get my 2,000 :)



0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Okay, I just tested it and this is what I get :
<Database Driver>Insufficient user privileges

I've tested this both on my client and through web (for the last I put the dll on the server's program directory). I always get the same result.
So, what's the problem here?

I have signed the database with an administrator userid in my testing environment.
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Okey Dokey! The fish gulped the hook :-)

JM, I told you to press the button!

You changed the code and placed some text for LDAP bind into third parameter. This wrong Bind paramater provocate this ERR_DBD_NOT_ALLOWED error.

Or you changed the LDAP host name from Verisign to some host requiring authentication. Then you get the same error.

Have you received the Patrick-response with the default button?

0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Sorry JM, I just tested my example in my office. I get the same error :)

It seams to be a firewall problem. Let me investigate a second...

0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Sorry JM, I just tested my example in my office. I get the same error :)

It seams to be a firewall problem. Let me investigate a second...

0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
I didn't change nothing in the code :-p
Is this a beta?
ROTFL
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
OK, the firewall problem can not be solved easily. Sorry.

0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Now my only hope is getting 2000 form Arun :)

Arun, have you tested my DLL?

0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
1-0 for Germany at half-time.
Come on, USA, go go go !!!
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
It gave me the same error

<Database Driver>Insufficient user privileges

Okay now, you have posted 7 comments (8 actually and one got repeated okay) so adding 35 to this one and making the points climb up to 230 !

:-)
Are you happy ???

Try this link and *Grin*

http://www.experts-exchange.com/lotusnotes/Q_20313866.html
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
My Bro :-)

I have a nose to smell a rat making thousand questions from a 50 points question :)

But I think this is not your first disaster question :)

Better take a look at this:
http://us.news1.yimg.com/us.yimg.com/i/fifa/afp/20020621/i/1074405431.jpg

You see?

PS: try my ldap example from home. Firewalls are blocking my driver.

0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
I don't think that this was intentional, USA deserved to win, but Oliver Kahn thought otherwise and kept the Germans in the tournament.
I think the Germans have the best goal keeper at the World Cup this year. If it weren't for him, they would surely have been eliminated a lot earlier.

What do you think about the referees? This weekend they just disallowed 2 perfectly valid goals from Spain.
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
I have not tried your code yet zvo...will try at home though.

And here is your quota of 5 today !

:-)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
No activity here @EE for the past 1 week huh ? Pretty boring. Jerrith why dont you make me reach 100k so that i can retire peacefully ?

Hi Zvo-Bro !

;-)
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Yeah, there aren't a lot of new questions being posted.
Maybe it's the hollidays coming up or something like that.

Or people are just enjoying the beautiful sunshine in stead of worrying about their notes problems...

It's a very nice summer day here and I am stuck in office again :-(

But this evening I'm going swimming!!
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Thats cool....Enjoy your swimming....

The bug with 5.10 regarding attachments has shown its face in yet another application.  All our production servers are upgraded now and we dont have a choice now except waiting for Lotus for a patch or downgrading the server !

:-(
Arun.

0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Hey Fellas !

Where have you been all these days ? Come on Bro dont you want to increase points for this post ?

:-)
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
You probably won't believe this, but I've been working ;)
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
Yeap :)
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
Another fiver for zvo :-)
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Oh yea !  Another 5 is Plussed to this pts...

:-)
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
This is actually even more fun than your 'monthly installments' to agent Mulder :-)
Has anybody heard from agent Mulder lately? I think he's been abducted by aliens or he's run of with Scully.
0
 
LVL 9

Author Comment

by:Arunkumar
Comment Utility
Well i dont know anything about him.  I am trying to make a conversation with my Brother here.  And he is not interested in talking to me thats what ended me to do something like this...

Hi Bro :-)
Arun.