Home. 
.

transparent

transparent

transparent

Altova User Forum

Important: this forum was designed to allow Altova users to exchange their experiences with each other; therefore, your question might remain unanswered.
If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

generic Lookup Function Options · View
ejohann
Posted: Tuesday, November 03, 2009 2:27:40 PM
Rank: Newbie

Joined: 11/2/2009
Posts: 2
Location: cinti, Ohio
I'm still learning the MapForce tool, but I've been unable to find a way to provide what I need. All of the lookup examples I've seen share the fact that the function has to know the target of its results, because it has to place the result in a structure.

I'm really trying to make a higher performance version of a value-map, where I put criteria in, and get a string value out, that I can reuse and place the result on any target.

There are several nice examples of ways to do the lookup I want,(find the value in a conversion table), but I can't seem to find a way to return a simple string from my User Function. (so I can reuse it)



ejohann attached the following image(s):
MapforceLookup.png

vlad
Posted: Tuesday, November 03, 2009 2:44:11 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 551
Location: Mauritius
The solution in you case is to connect pplusFieldValue to the "table" input of WHERE component. In this case the "result" of WHERE is this field value.

Vlad
ejohann
Posted: Tuesday, November 03, 2009 5:45:36 PM
Rank: Newbie

Joined: 11/2/2009
Posts: 2
Location: cinti, Ohio
Thank you for the quick reply. Let me be sure I understand it.

Are you saying I can replace the table connected to the sql-where with just the field I want to return? Does the WHERE process infer the table to filter from the container of the field connected to the Table connector?

Is there any reference information on some of these functions? It would be very helpful to understand the various ways powerful functions like this can be used.

Eric
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova User Forums Terms of Service.

Powered by Yet Another Forum.net version 1.0.0 RC3 - 9/24/2005
Copyright © 2003-2005 Yet Another Forum.net. All rights reserved.
This page was generated in 0.077 seconds.



transparent
Print
Mail
Digg
delicious
Welcome
.

The Altova User Forum(s) were launched so that our users have the possibility to interact and exchange their experiences regarding Altova's product line with one another. Although the Altova User Forum(s) are moderated by Altova employees and Altova permits support and software engineers to respond to postings, this is NOT a replacement for the regular support mechanism, and accordingly there is no guarantee that a question will be answered. If you need to contact Altova's technical support team please do so by using the online support center. Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova User Forum(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Altova User Forum Terms of Service and the Altova Website Terms of Use

.
.

transparent

transparent