How funny (read frustrating) is lotus notes programming .. . ;-)
Once another bug .. . or feature ? ??? how knows ! mha’, bhooo. … mmhhh
Anyway, try to set a doubled spaced string into an environment variable whit @Environment and than try to get back the value.. . it’s weird but it’s like you are doing a @Trim on that f#@*$ value :-(
@Environment("tmpValue"; "value with double spaces");
@Prompt([OkCancelEdit]; @DbTitle; "tmpValue"; tmpValue);
Silent speak aloud some times
And sometimes we loose too much time on others people bugs
Yesterday i found another bug in Lotus/Designer; this time it’s about Shared fields.
These are the steps to reproduce the issue:
- Open Shared fields list and select the one you want to copy and paste.
- Ctrl-C + Crtl-V; the new field will be pasted with _1 suffix.
- Hit F2 or use the in-view edit to enter the new name (Xxx for example), confirm with Enter and see the new name in the list.
- Enter again to edit the field, open the field properties with Ctrl-Enter and Wow, here is the old name displayed !!!
The new Shared field can be used and is displayed with the new name but when you preview the form you will got a “Cannot locate field definition for Field: Xxx” error (Xxx is the field name at point 3)
Remember to rename Shared fields only via the field properties in the edit field window !!!
Be aware of if you rename a used Shared field you must delete and re-add it to any forms that use it.
Let me know if you find this tip useful !!!