Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

PreviousPrevious NextNext


Mark XY Brown 24.Jan.12 12:42 PM a Web browser
Domino Designer 6.0.3 Windows XP


Greetings all!

Some users have just complained to me that a button in a database has stopped working. The database in question is a sandpit environment (thankfully!), and I can replicate the problem. I can't understand it, though.

Here's the code:

tmp:=@PickList([Custom]:[Single]; ""; "ProdLU"; "All Products for RFCs"; "Pick the required product from the list"; 4);
@SetField("RFCProdT1"; @Word(tmp; "~"; 1));
@SetField("RFCProdT2"; @Word(tmp; "~"; 2));
@SetField("Product"; @Word(tmp; "~"; 3));
@Command([EditGotoField]; "Product")

The value in tmp is indeed what I expect (a hidden column containing the three levels of product hierarchy banged together with tildes) - I've used @StatusBar to confirm this.
However, all of a sudden, the three @SetField functions don't do anything. The code runs, but the values are not dropped into the fields. I've tried replacing them with the FIELD keyword, but that doesn't help either.

If I enter values in the three fields individually and then try the button, the values are left untouched. So at least it's not entering nulls into the fields.

Any ideas?

TIA!

***EDIT***
I have worked around the issue by getting the action button to dump the selected value into an environment variable, and then adding code to the Exiting script of field Product to pick up that environment value and parse it. The script then parses the value and uses the FieldSetText method to dump the elements into the relevant fields. I'd still like the action formula to work again, though!






Formula language suddenly not worki... (Mark XY Brown 24.Jan.12)
. . RE: Formula language suddenly not w... (Doug Finner 24.Jan.12)
. . . . RE: Formula language suddenly not w... (Mark XY Brown 25.Jan.12)
. . RE: Formula language suddenly not w... (John Lanham 25.Jan.12)
. . . . RE: Formula language suddenly not w... (Mark XY Brown 25.Jan.12)
. . . . . . RE: Formula language suddenly not w... (Doug Finner 26.Jan.12)
. . . . . . . . RE: Formula language suddenly not w... (Mark XY Brown 30.Jan.12)
. . . . . . . . RE: Formula language suddenly not w... (Mark XY Brown 30.Jan.12)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite