-
Topic
-
hi, Perhaps am i tired or stupid but … How do that ?I’d like to find a document by its number and modify, for instance, its author and subject.
The query process is not clear but i found how.
But whan i want to modify a propertie => ErrorHelp !!!!!!!
‘Here is my code
‘=== query process with wait for completed
Set Result = qwnew.QueryMessages
Set DocNew = Result.item(1)call DocNew.documentversion.CheckOut(Path)
‘Prise en compte des infos du dossier
‘L’adresse de l’Auteur : frmdocs.nccRecipient.EmailAddress(0)
set DocNew.Document.author.EmailAddress = frmdocs.nccRecipient.EmailAddress(0)‘L’objet du document = frmdocs.txtObj.Text
If frmdocs.txtObj.Text = “” Then
frmdocs.txtObj.Text = “-” ‘Nécessaire pour Word, l’objet ne doit pas être vide
end ifSet DocNew.Subject = frmdocs.txtObj.Text
‘On le re-intègre
call DocNew.documentversion.CheckIn(Path)Thank for your help
- You must be logged in to reply to this topic.