List of Value [message #609510] |
Sat, 08 March 2014 00:04 |
|
mehboob110233
Messages: 55 Registered: February 2014 Location: Pakistan
|
Member |
|
|
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 |
|
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?
|
|
|