1. Don McNally05/12/2006 02:26:26 PM
Homepage: http://dmcnally.blogspot.com
I'm having a love/hate relationship with ComputeWithForm right now too. I never used 4.6 so I can't verify what you say, but it definitely does Computed When Composed fields. I have not seen if it changes values back to the default if you have subsequently changed the value, but I always assumed it treated the field like an editable field and just set its default value.
It will also set a value for a Computed field if the field doesn't exist on the document, which is what is hanging me up: I have to remove the item to have ComputeWithForm set its value but sometimes it doesn't add the item back to the document.
I wish there was a simple way to compute all fields on a back-end document in LotusScript!
2. Don McNally06/20/2006 02:15:49 PM
Homepage: http://dmcnally.blogspot.com
After further study, I ended up changing some of my fields to Editable but Hidden. Then I put the formula that sets the field value in the Input Translation. After a couple of hiccups, that seems to have resolved it for me. But it is still a pain that ComputeWithForm doesn't do Computed fields.
Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 | |