Link to home
Start Free TrialLog in
Avatar of shals0628
shals0628

asked on

how to get the handle to response documents?

Hi,

I have a Main document, more than one response document can be present for the Main.
When archive functionality is to be used, how do I get the handle of all of the response documents and use 'CopytoDatabase' function in order to archive?
ASKER CERTIFIED SOLUTION
Avatar of Steve Knight
Steve Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You would not believe how obvious some of the answers here are.  It seems to be considered a bad practice to actually read the Designer help if you want to do programming in the Domino Designer...
they do make it a bit complicated.... You have to use the "help" menu or F1 (who wold think to try that!) and then search or i hear there is a facility known as google too ;-)

as someone who has used notes since early r3 lotusscript took a bit of working out after formula having not used  object oriented programming before... Just procedure based pascal, basic etc. at the time so i do feel for someone trying to make head or tail of something theyve been chucked into mind!

I must add that "just using F1" is a bit broken since 8.5, with the awful implentation of the Eclipse help system.  I'd love for the old intelligence to return asap.  OTOH, the popup help for Classes and properties and methods, INCLUDING your own Custom classes, is beyond wonderful.  I LOVE IT!
V. true... and going OT here but frankly PITA going Eclipse based in general... to the extent where on a pretty decent dual core 2Gb laptop that runs Windows 7 fine (which kinda shows it aint bad!) I run the basic version command line switches day-to-day for client until I need admin or designer and on an old P4 kept it to R8.0.2.

Anyway I digress.... if the poor guy is with us still and wants any pointers, ask!

Steve
don't forget the JVM trick.  Helps Designer & startup speed. => Kudos to Andrew Pollack of The North <http://www.thenorth.com/apblog4.nsf/0/BB5DDB03611B2BB1852574D7005FF852> read the comments there for more info.
Note that i set both vmarg.Xmx (max heap) and vmarg.Xms (start heap) to the same size. That saves having to grow the heap (and a lot of garbage collects until its grown to max).
One to try thanks!
Avatar of shals0628
shals0628

ASKER

@dragon-it - Thanks for the piece of code.  I used this Set ResponseDoc=QueryVw.Getchild(QueryDoc)
to get the handle the response document.
@larsenbertrop - Thanks for your comments, I did try using Notes Help. For some weird reason when I performed ResponseDoc. the list of methods did not populate after the dot (.) which led me to check on this forum. Google is good to search, trusting this forum. :-) Thanks for other information related to Help as well.
Try the JVM trick.  Helps Designer & startup speed. => Kudos to Andrew Pollack of The North http://www.thenorth.com/apblog4.nsf/0/BB5DDB03611B2BB1852574D7005FF852 read the comments there for more info.

Note that I set both vmarg.Xmx (max heap) and vmarg.Xms (start heap) to the same size. That saves having to grow the heap (and a lot of garbage collects until its grown to max)