Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Update Assist problem with Static Lists in Key Values

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Update Assist problem with Static Lists in Key Values
 Login/Join
 
Member
posted
Disclosure: I have very little MAINTAIN experience.

I'm trying to use Update Assist to populate an underlying SQL 2005 table using the Wizard. 4 key values, 6 non-key values. When I create an edit for a key value and use a static list, the values display correctly in the drop down: ie: blue, black, red, white. However, what gets written to the database isn't blue, black, red or white - it is 1,2,3 or 4 - the position of the variable in the list.

I'd like to use dynamic lists vs static but it appears to give me locks in SQL as soon as it tries to retrieve data (different issue though..)

Has anyone seen this with key values and static drop down lists? I suppose I could decode it on the back end, but if the look up values ever change, it would throw everything off. What I really want is "blue, black, red, or white" written to the database, not 1,2,3 or 4.

Thanks!

This message has been edited. Last edited by: Dave Kempin,


WebFOCUS 7.6.1
AIX / Windows 2003
 
Posts: 17 | Location: Milwaukee | Registered: February 16, 2006Report This Post
Master
posted Hide Post
Hi Dave
I have seen this problem before and I know that it was fixed in a later release. The first option is to upgrade. Can you open the generated MNT file in the MDE? The problem SHOULD be in the case GETSTACK.

The problem is, the field is being populated with the index and not the value. In the current release, this is what I see. Maintain is computing the value of the field TITLE to the selected item in the list.

Compute FieldName = "MOVINFO_TITLE_Edit" ;
Compute optionStk_index = IWC.GetAppCGIValue (FieldName);
Compute MOVINFOStk.MOVINFO.TITLE = MOVINFO_TITLE_Edit_optionStk(optionStk_index);

What are you seeing in your code? You may have to edit that line to make it look like mine.

If you are truly stuck zip up and send me the MAS and MNT files.

Mark
Mark_Derwin@IBI.Com
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Member
posted Hide Post
Thanks Mark - you nailed this one! That is exactly what the issue was.


WebFOCUS 7.6.1
AIX / Windows 2003
 
Posts: 17 | Location: Milwaukee | Registered: February 16, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Update Assist problem with Static Lists in Key Values

Copyright © 1996-2020 Information Builders