on 04-14-2011 3:01 PM
How would you write a UDF that would only flag an "X" to certain data (the data uses the counter)?
I think you can use standard function for this purpose....
Otherwise, UDF could be something like this:
Global Variable: int lv_counter;
public void DBLookUP_GeneralApi(ResultList result,Container container)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The quantity is in increments of 10 (10, 20, 30, 40 etc) and for each of these quantities I have to have an u201CXu201D in another data field (RET_ITEM)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you provide more information about this request? Do you want to "flag" an attribute when a certain value is met? What is the relation with the "counter"?
(edit after clarification):
You can create a function that will check the %10 == 0 (if the counter is divisible by 10) and then this returns "true", mapping a "X" to the target field.
(IF function) (CounterValue%10 == 0) THEN (concat? Do something for the target field) ELSE (ignore)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
(clarification)I have a counter that counts every 10 (ex. 10,20,30,40 and so on) and I need each one of these to show an u201CXu201D in a different(Respective) field (RET_ITEM) and I was wondering what UDF would allow me to do this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.