Tnx... i figured out that yesterday... is workin now...
tnx for the help..
i think im finishin it for today, im gonna show it up to my boss... lets see what he says... wish me luck
tnx
:-D
Here is teh code done
it works... BUT...
when i use doc.send(.....)
it actually send the docs... but those docs r not the same doc i saved, those docs r like a copy of the docs... they r not saved in the databases i specified.. theyr saved in the mail databases... i think... im not really...
There is way... if i get u right here is the way...
well... not for views... but for Forms
If you are in a form just click anywhere in the Form and in the Programmers Pane it says Windows Title... there Just set ur title
"Title"
and thats it... but i think that only works for Forms and Pages
Sub Click(Source As Button)
Dim doc As NotesDocument
Dim doc2 As NotesDocument
Dim docu As NotesDocument
Dim oldcoc As NotesDocument
Dim session As New NotesSession
Dim db As NotesDatabase
Dim db2 As NotesDatabase
Set db2 = session.GetDatabase("LDCENX05/HMO/CFE"...
How do i create a Variable of a NotesDatabase with a certain database:
Could this work?
Dim db2 As NotesDatabase("server","db.nsf")
plz help... im stock in there
could this be something like this...
...
Dim db As NotesDatabase
Dim db2 As NotesDatabase("server","db.nsf")
...
Do While Not(docu Is Nothing)
Set olddoc = docu
Set docu = view.getNextDocument(olddoc)
Delete olddoc
Set doc2 = entry.Document
doc2.Form =...
Well... i got this code working... tnx to Pascal :D
but now... this code is just a test
what i really got to do is this:
the code i have is doing everything in the same database...
but... how it should be is:
the view im using to get doc2 is in Database "x"
and the docs im creating (doc) is...
Well... lets see if i got it...
olddoc is an Entry?
docu is used only for the condition??
is that condition right (docu is Nothing)??
when i do: Set entry = view.GetFirstEntry its because the oldfirst entry is already gone from the view... am i right?
i think thats ir for now... hope i got it...
hey... i have another question :-)
how do i make the iterations??
i thought could be this way.. lets me know if im right or wrong. or WAY WRONG :-P
while(entry != NULL)
Set entry = view.GetFirstEntry
Set doc2 = entry.Document
doc2.Form = "encuesta2"
doc2.flag2 =1 'takes it out of...
well i got the date condition. my question is...
u said i gotta set a flag in docs for treated docs... i need to add a new field and edit all docs i have already?
btw... tnx for answering :D ur helpin so much
Sub Click(Source As Button)
Dim doc As NotesDocument
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim entry As NotesViewEntry
Set db = session.CurrentDatabase
Set view = db.GetView("completa2")
Set entry = view.GetEntryByKey("Carlos Nava Aviles")
Set doc...
Here is the code im using...
Sub Click(Source As Button)
Dim doc As NotesDocument
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim entry As NotesViewEntry
Set db = session.CurrentDatabase
Set view = db.GetView("completa2")
Set entry =...
ouch... now that i think bout it is not this easy...
the the key for the entry is gonna be a date that is in this same view... and the doc is gonna be created if this date is 10 days after @NOW
Hi again... im working 1 handed... is not the best way... but im trying :)
here is the script i just made (workd perfectly
[b]
Sub Click(Source As Button)
Dim doc As NotesDocument
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim entry As NotesViewEntry
Set...
thank you very much :)
the bad thing is that a broke my shoulder this weekend... so i think i wont work as much for 3 weeks...
when i really get into it... ill let you know how it workd, and ask you if i need some more help :)
tnx for the help so far
well... tnx both for answering... ill be more specific
i have a view with names of employes, mail, number, a course the employe went, date of the course, date when the course ends and some more information about this employes, this docs wer saved in a form, now i need to make an agent that...
Hi...
here is my thingy... i find this script somewhere in this forum posted by pmonett...
dim session as new notessession
dim db as notesdatabase
dim doc as notesdocument
set db = session.currentdatabase
set doc = db.createdocument
'set various fields here
'
'now set the form to be used...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.