List of Value [message #609510] |
Sat, 08 March 2014 00:04 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.gravatar.com/avatar/68b0ba068684db8e6bf035f30bbd40d5?s=64&d=mm&r=g) |
mehboob110233
Messages: 55 Registered: February 2014 Location: Pakistan
|
Member |
![mahboob30699@gmail.com](/forum/theme/orafaq/images/google.png)
|
|
Dear All,
i have a table that contain data of voucher entry type
like
ID
1
2
3
4
---------
TYPE
VE
JV
PV
SV
----
I Create list of value at runtime with
clear_list('voucher');
add_list_element('voucher',ind, desc,id)
i also put the initial value of the item element in list item 1
and also initial value 1
when_new_form_instance
list build successfully
but initial value i have put also show in the list at the end '1'
if i set the item initial value to null. when form run then give me error force to put initial value
what is it solution please guide me..........
[EDITED by LF: fixed topic title typo; was "Valur"]
[Updated on: Sat, 08 March 2014 09:33] by Moderator Report message to a moderator
|
|
|
|
Re: List of Valur [message #609524 is a reply to message #609514] |
Sat, 08 March 2014 09:32 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](http://www.orafaq.com/forum/images/custom_avatars/72104.gif) |
Littlefoot
Messages: 21818 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Are you sure that this is the correct solution? Looks like an unsuccessful workaround to me (because REQUIRED value was probably set to YES for a reason, such as an underlying column being NOT NULL).
Why didn't you create an ordinary, static list of values? First create a record group, then create list of values based on the record group. What business requirement does the dynamic list of values solve?
|
|
|