on 10-03-2012 4:10 PM
Hi Group,
My requirement is I need to assign unique value to multiple target elements for each run,can any body suggest how I can achieve this requirement.
-Rajiv
You can create UDF. The approach is use some current date function or some sequence numbers and concatanete with random numbers. To generate random number you can use java Random Class. You might want to see code examples for this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You might need to concatanete with some sequencer numbers or date with random numbers. Otherwise random numbers will not be helpful for unique. Instead why dont you pick the current date and time (timestamp with milliseconds) as number. This will be alway unique. I think Udo's point is right.
Hi Rajiv ,
You can see the following link for use of variable.
Regards
Gagan
Hi Rajiv,
concatenate a timestamp (standard function currentDate) and a counter (function index).
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.