Hi advansys team,
His there someone could help me ?
I like to add, in a library, a document and just after open it
Here a piece of my code (LibTrouv is my library object)
DocNewNum = LibTrouv.NextDocumentNumber
msgbox LibTrouv.NextDocumentNumber ‘ =====> 994
‘Création du document
call LibTrouv.documents.Add(Path, “Document”)
msgbox LibTrouv.NextDocumentNumber ‘ =====> 994 Strange isn’t it ????????
set DocNew = LibTrouv.getdocument (DocNewNum)
When i’m alone, i could open my document, OK
But, if an another gwclient add documents, sometime the first open the second document !!!!
Is “LibTrouv.NextDocumentNumber” refresh after “LibTrouv.documents.Add” ? and when ?
Is there a work around ?
- You must be logged in to reply to this topic.