Computewithform just stopped to work (but when you use debugger and look into document before computewithform it works fine).
Here is my solution to avoid this problem
Set doc=view.GetDocumentByKey(key, True)
Dim bug as String
bug=doc.UniversalID '(or any item) '// that is actually the main line, funny?
Call doc.ComputeWithForm(False, False)
4 comments :
I believe the code should read "UniversalID" instead of "UniverslaID"
Dmytro, just so we're clear, was the bug = doc.UniverslaID line intentionally mispelled to trigger an error and thus somehow "trick" computewithform into working, or was that just a typo?
In any case, thanks for the heads up!
it was 'typo'. I've updated it. Thanks.
I am finding that computewithform does not work lately as well
Post a Comment