Home » Developer & Programmer » Forms » List of Value (Form6i)
List of Value [message #609510] Sat, 08 March 2014 00:04 Go to next message
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 #609514 is a reply to message #609510] Sat, 08 March 2014 01:30 Go to previous messageGo to next message
mehboob110233
Messages: 55
Registered: February 2014
Location: Pakistan
Member

I solved this problem with set the require value 'No'
Re: List of Valur [message #609524 is a reply to message #609514] Sat, 08 March 2014 09:32 Go to previous message
Littlefoot
Messages: 21808
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?
Previous Topic: How to increase the Alert Title Width
Next Topic: Show urdu in oracle form 10g
Goto Forum:
  


Current Time: Thu Apr 25 16:00:15 CDT 2024